Searched refs:KEYLEN (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/openssl/test/ |
H A D | tls13secretstest.c | 17 #define KEYLEN 16 macro 237 unsigned char key[KEYLEN]; in test_secret() 255 if (!tls13_derive_key(s, md, gensecret, key, KEYLEN)) { in test_secret() 260 if (!TEST_mem_eq(key, KEYLEN, ref_key, KEYLEN)) in test_secret() 320 if (!TEST_size_t_eq(sizeof(client_hts_key), KEYLEN)) in test_handshake_secrets() 335 if (!TEST_size_t_eq(sizeof(server_hts_key), KEYLEN)) in test_handshake_secrets() 369 if (!TEST_size_t_eq(sizeof(client_ats_key), KEYLEN)) in test_handshake_secrets() 384 if (!TEST_size_t_eq(sizeof(server_ats_key), KEYLEN)) in test_handshake_secrets()
|
/freebsd/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); 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()
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | ecx_meth.c | 41 penc = OPENSSL_memdup(ecxkey->pubkey, KEYLEN(pkey)); in ecx_pub_encode() 48 V_ASN1_UNDEF, NULL, penc, KEYLEN(pkey))) { in ecx_pub_encode() 83 return CRYPTO_memcmp(akey->pubkey, bkey->pubkey, KEYLEN(a)) == 0; in ecx_pub_cmp() 113 oct.length = KEYLEN(pkey); in ecx_priv_encode() 134 return KEYLEN(pkey); in ecx_size() 184 if (ASN1_buf_print(bp, ecxkey->privkey, KEYLEN(pkey), in ecx_key_print() 199 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 D | ecx_backend.h | 20 #define KEYLEN(p) KEYLENID((p)->ameth->pkey_id) macro
|