Home
last modified time | relevance | path

Searched refs:KEYLEN (Results 1 – 5 of 5) sorted by relevance

/src/crypto/openssl/test/
H A Dtls13secretstest.c18 #define KEYLEN 16 macro
250 unsigned char key[KEYLEN]; in test_secret()
268 if (!tls13_derive_key(s, md, gensecret, key, KEYLEN)) { in test_secret()
273 if (!TEST_mem_eq(key, KEYLEN, ref_key, KEYLEN)) in test_secret()
334 if (!TEST_size_t_eq(sizeof(client_hts_key), KEYLEN)) in test_handshake_secrets()
349 if (!TEST_size_t_eq(sizeof(server_hts_key), KEYLEN)) in test_handshake_secrets()
383 if (!TEST_size_t_eq(sizeof(client_ats_key), KEYLEN)) in test_handshake_secrets()
398 if (!TEST_size_t_eq(sizeof(server_ats_key), KEYLEN)) in test_handshake_secrets()
/src/sys/netgraph/
H A Dng_mppc.c98 #define KEYLEN(b) (((b) & MPPE_128) ? 16 : 8) macro
329 const int keylen = KEYLEN(cfg->bits); in ng_mppc_rcvmsg()
595 rc4_init(&d->rc4, d->key, KEYLEN(d->cfg.bits)); in ng_mppc_compress()
695 rc4_init(&d->rc4, d->key, KEYLEN(d->cfg.bits)); in ng_mppc_decompress()
852 rc4_init(&d->rc4, d->key, KEYLEN(d->cfg.bits)); in ng_mppc_reset_req()
893 const int keylen = KEYLEN(bits); in ng_mppc_updatekey()
/src/crypto/openssl/crypto/ec/
H A Decx_meth.c41 penc = OPENSSL_memdup(ecxkey->pubkey, KEYLEN(pkey)); in ecx_pub_encode()
46 V_ASN1_UNDEF, NULL, penc, KEYLEN(pkey))) { in ecx_pub_encode()
81 return CRYPTO_memcmp(akey->pubkey, bkey->pubkey, KEYLEN(a)) == 0; in ecx_pub_cmp()
111 oct.length = KEYLEN(pkey); in ecx_priv_encode()
132 return KEYLEN(pkey); in ecx_size()
182 if (ASN1_buf_print(bp, ecxkey->privkey, KEYLEN(pkey), in ecx_key_print()
198 if (ASN1_buf_print(bp, ecxkey->pubkey, KEYLEN(pkey), in ecx_key_print()
235 *ppt = OPENSSL_memdup(pkey->pkey.ecx->pubkey, KEYLEN(pkey)); in ecx_ctrl()
237 return KEYLEN(pkey); in ecx_ctrl()
H A Decx_backend.h20 #define KEYLEN(p) KEYLENID((p)->ameth->pkey_id) macro
/src/crypto/krb5/src/plugins/kdb/db2/libdb2/hash/
H A Dpage.h47 #define KEYLEN 1 macro