Home
last modified time | relevance | path

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

/third_party/openssl/test/
Dtls13secretstest.c17 #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()
/third_party/curl/lib/
Dcurl_fnmatch.c77 #define KEYLEN 10 in parsekeyword() macro
78 char keyword[KEYLEN] = { 0 }; in parsekeyword()
84 if(i >= KEYLEN) in parsekeyword()
102 #undef KEYLEN in parsekeyword()
/third_party/node/deps/openssl/openssl/crypto/ec/
Decx_meth.c41 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()
Decx_backend.h20 #define KEYLEN(p) KEYLENID((p)->ameth->pkey_id) macro
/third_party/openssl/crypto/ec/
Decx_meth.c41 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()
Decx_backend.h20 #define KEYLEN(p) KEYLENID((p)->ameth->pkey_id) macro