Searched refs:KEYLEN (Results 1 - 4 of 4) sorted by relevance
/freebsd-current/crypto/openssl/crypto/ec/ |
H A D | ecx_backend.h | 20 #define KEYLEN(p) KEYLENID((p)->ameth->pkey_id) macro
|
H A D | ecx_meth.c | 41 penc = OPENSSL_memdup(ecxkey->pubkey, KEYLEN(pkey)); 48 V_ASN1_UNDEF, NULL, penc, KEYLEN(pkey))) { 83 return CRYPTO_memcmp(akey->pubkey, bkey->pubkey, KEYLEN(a)) == 0; 113 oct.length = KEYLEN(pkey); 134 return KEYLEN(pkey); 184 if (ASN1_buf_print(bp, ecxkey->privkey, KEYLEN(pkey), 199 if (ASN1_buf_print(bp, ecxkey->pubkey, KEYLEN(pkey), 235 *ppt = OPENSSL_memdup(pkey->pkey.ecx->pubkey, KEYLEN(pkey)); 237 return KEYLEN(pkey);
|
/freebsd-current/crypto/openssl/test/ |
H A D | tls13secretstest.c | 17 #define KEYLEN 16 macro 237 unsigned char key[KEYLEN]; 255 if (!tls13_derive_key(s, md, gensecret, key, KEYLEN)) { 260 if (!TEST_mem_eq(key, KEYLEN, ref_key, KEYLEN)) 320 if (!TEST_size_t_eq(sizeof(client_hts_key), KEYLEN)) 335 if (!TEST_size_t_eq(sizeof(server_hts_key), KEYLEN)) 369 if (!TEST_size_t_eq(sizeof(client_ats_key), KEYLEN)) 384 if (!TEST_size_t_eq(sizeof(server_ats_key), KEYLEN))
|
/freebsd-current/sys/netgraph/ |
H A D | ng_mppc.c | 98 #define KEYLEN(b) (((b) & MPPE_128) ? 16 : 8) macro 329 const int keylen = KEYLEN(cfg->bits); 595 rc4_init(&d->rc4, d->key, KEYLEN(d->cfg.bits)); 695 rc4_init(&d->rc4, d->key, KEYLEN(d->cfg.bits)); 852 rc4_init(&d->rc4, d->key, KEYLEN(d->cfg.bits)); 893 const int keylen = KEYLEN(bits);
|
Completed in 222 milliseconds