/third_party/openssl/crypto/cms/ |
D | cms_rsa.c | 45 int labellen = 0; in rsa_cms_decrypt() local 91 labellen = plab->parameter->value.octet_string->length; in rsa_cms_decrypt() 101 && EVP_PKEY_CTX_set0_rsa_oaep_label(pkctx, label, labellen) <= 0) in rsa_cms_decrypt() 118 int pad_mode = RSA_PKCS1_PADDING, rv = 0, labellen; in rsa_cms_encrypt() local 138 labellen = EVP_PKEY_CTX_get0_rsa_oaep_label(pkctx, &label); in rsa_cms_encrypt() 139 if (labellen < 0) in rsa_cms_encrypt() 148 if (labellen > 0) { in rsa_cms_encrypt() 157 if (!ASN1_OCTET_STRING_set(los, label, labellen)) { in rsa_cms_encrypt()
|
/third_party/node/deps/openssl/openssl/crypto/cms/ |
D | cms_rsa.c | 46 int labellen = 0; in rsa_cms_decrypt() local 92 labellen = plab->parameter->value.octet_string->length; in rsa_cms_decrypt() 102 && EVP_PKEY_CTX_set0_rsa_oaep_label(pkctx, label, labellen) <= 0) { in rsa_cms_decrypt() 122 int pad_mode = RSA_PKCS1_PADDING, rv = 0, labellen; in rsa_cms_encrypt() local 142 labellen = EVP_PKEY_CTX_get0_rsa_oaep_label(pkctx, &label); in rsa_cms_encrypt() 143 if (labellen < 0) in rsa_cms_encrypt() 152 if (labellen > 0) { in rsa_cms_encrypt() 159 if (!ASN1_OCTET_STRING_set(los, label, labellen)) in rsa_cms_encrypt()
|
/third_party/openssl/ssl/ |
D | tls13_enc.c | 35 const unsigned char *label, size_t labellen, in tls13_hkdf_expand() argument 53 if (labellen > TLS13_MAX_LABEL_LEN) { in tls13_hkdf_expand() 86 (unsigned char *)label, labellen); in tls13_hkdf_expand() 338 size_t labellen, unsigned char *secret, in derive_secret_key_and_iv() argument 353 if (!tls13_hkdf_expand(s, md, insecret, label, labellen, hash, hashlen, in derive_secret_key_and_iv() 435 size_t labellen, hashlen = 0; in tls13_change_cipher_state() local 486 labellen = sizeof(client_early_traffic) - 1; in tls13_change_cipher_state() 569 labellen = sizeof(client_handshake_traffic) - 1; in tls13_change_cipher_state() 584 labellen = sizeof(client_application_traffic) - 1; in tls13_change_cipher_state() 601 labellen = sizeof(server_handshake_traffic) - 1; in tls13_change_cipher_state() [all …]
|
D | ssl_local.h | 2608 const unsigned char *label, size_t labellen,
|
/third_party/node/deps/openssl/openssl/ssl/ |
D | tls13_enc.c | 35 const unsigned char *label, size_t labellen, in tls13_hkdf_expand() argument 53 if (labellen > TLS13_MAX_LABEL_LEN) { in tls13_hkdf_expand() 86 (unsigned char *)label, labellen); in tls13_hkdf_expand() 338 size_t labellen, unsigned char *secret, in derive_secret_key_and_iv() argument 353 if (!tls13_hkdf_expand(s, md, insecret, label, labellen, hash, hashlen, in derive_secret_key_and_iv() 639 size_t labellen, hashlen = 0; in tls13_change_cipher_state() local 695 labellen = sizeof(client_early_traffic) - 1; in tls13_change_cipher_state() 778 labellen = sizeof(client_handshake_traffic) - 1; in tls13_change_cipher_state() 793 labellen = sizeof(client_application_traffic) - 1; in tls13_change_cipher_state() 810 labellen = sizeof(server_handshake_traffic) - 1; in tls13_change_cipher_state() [all …]
|
D | ssl_local.h | 2664 const unsigned char *label, size_t labellen,
|
/third_party/curl/lib/ |
D | doh.c | 135 size_t labellen; in doh_encode() local 138 labellen = dot - hostp; in doh_encode() 140 labellen = strlen(hostp); in doh_encode() 141 if((labellen > 63) || (!labellen)) { in doh_encode() 147 *dnsp++ = (unsigned char)labellen; in doh_encode() 148 memcpy(dnsp, hostp, labellen); in doh_encode() 149 dnsp += labellen; in doh_encode() 150 hostp += labellen; in doh_encode()
|
/third_party/node/deps/openssl/openssl/providers/implementations/kdfs/ |
D | hkdf.c | 588 const unsigned char *label, size_t labellen, in prov_tls13_hkdf_expand() argument 606 || !WPACKET_memcpy(&pkt, label, labellen) in prov_tls13_hkdf_expand() 628 size_t labellen, in prov_tls13_hkdf_generate_secret() argument 665 prefix, prefixlen, label, labellen, in prov_tls13_hkdf_generate_secret()
|
/third_party/openssl/providers/implementations/kdfs/ |
D | hkdf.c | 588 const unsigned char *label, size_t labellen, in prov_tls13_hkdf_expand() argument 606 || !WPACKET_memcpy(&pkt, label, labellen) in prov_tls13_hkdf_expand() 628 size_t labellen, in prov_tls13_hkdf_generate_secret() argument 665 prefix, prefixlen, label, labellen, in prov_tls13_hkdf_generate_secret()
|
/third_party/openssl/test/ |
D | tls13secretstest.c | 230 const unsigned char *label, size_t labellen, in test_secret() argument 246 if (!tls13_hkdf_expand(s, md, prk, label, labellen, hash, hashsize, in test_secret()
|
D | sslapitest.c | 6199 size_t labellen; in test_export_key_mat() local 6271 labellen = LONG_LABEL_LEN; in test_export_key_mat() 6273 labellen = SMALL_LABEL_LEN; in test_export_key_mat() 6278 labellen, context, in test_export_key_mat() 6282 labellen, in test_export_key_mat() 6287 labellen, in test_export_key_mat() 6291 labellen, in test_export_key_mat() 6297 labellen, in test_export_key_mat() 6302 labellen, in test_export_key_mat()
|
/third_party/openssl/crypto/rsa/ |
D | rsa_lib.c | 1116 size_t labellen; in EVP_PKEY_CTX_get0_rsa_oaep_label() local 1135 labellen = rsa_params[0].return_size; in EVP_PKEY_CTX_get0_rsa_oaep_label() 1136 if (labellen > INT_MAX) in EVP_PKEY_CTX_get0_rsa_oaep_label() 1139 return (int)labellen; in EVP_PKEY_CTX_get0_rsa_oaep_label()
|
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
D | rsa_lib.c | 1138 size_t labellen; in EVP_PKEY_CTX_get0_rsa_oaep_label() local 1157 labellen = rsa_params[0].return_size; in EVP_PKEY_CTX_get0_rsa_oaep_label() 1158 if (labellen > INT_MAX) in EVP_PKEY_CTX_get0_rsa_oaep_label() 1161 return (int)labellen; in EVP_PKEY_CTX_get0_rsa_oaep_label()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
D | eap_pwd_common.c | 46 size_t labellen, u8 *result, size_t resultbitlen) in eap_pwd_kdf() argument 66 crypto_hash_update(hash, label, labellen); in eap_pwd_kdf()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/ |
D | eap_pwd_common.c | 46 size_t labellen, u8 *result, size_t resultbitlen) in eap_pwd_kdf() argument 66 crypto_hash_update(hash, label, labellen); in eap_pwd_kdf()
|
/third_party/node/deps/ngtcp2/ngtcp2/crypto/ |
D | shared.c | 49 const uint8_t *label, size_t labellen) { in ngtcp2_crypto_hkdf_expand_label() argument 56 *p++ = (uint8_t)(sizeof(LABEL) - 1 + labellen); in ngtcp2_crypto_hkdf_expand_label() 59 memcpy(p, label, labellen); in ngtcp2_crypto_hkdf_expand_label() 60 p += labellen; in ngtcp2_crypto_hkdf_expand_label()
|
/third_party/node/deps/openssl/openssl/ssl/statem/ |
D | statem_clnt.c | 1674 size_t labellen; in tls_process_server_hello() local 1684 labellen = sizeof(labelbuffer) - 1; in tls_process_server_hello() 1686 labellen += 1; in tls_process_server_hello() 1691 labellen, NULL, 0, 0) <= 0) { in tls_process_server_hello() 3377 size_t labellen; in tls_client_key_exchange_post_work() local 3387 labellen = sizeof(labelbuffer) - 1; in tls_client_key_exchange_post_work() 3389 labellen += 1; in tls_client_key_exchange_post_work() 3393 labellen, NULL, 0, 0) <= 0) { in tls_client_key_exchange_post_work()
|
D | statem_srvr.c | 856 size_t labellen; in ossl_statem_server_post_work() local 866 labellen = sizeof(labelbuffer) - 1; in ossl_statem_server_post_work() 868 labellen += 1; in ossl_statem_server_post_work() 872 labellen, NULL, 0, in ossl_statem_server_post_work() 3377 size_t labellen; in tls_post_process_client_key_exchange() local 3386 labellen = sizeof(labelbuffer) - 1; in tls_post_process_client_key_exchange() 3388 labellen += 1; in tls_post_process_client_key_exchange() 3392 labellen, NULL, 0, in tls_post_process_client_key_exchange()
|
/third_party/openssl/ssl/statem/ |
D | statem_clnt.c | 1666 size_t labellen; in tls_process_server_hello() local 1676 labellen = sizeof(labelbuffer) - 1; in tls_process_server_hello() 1678 labellen += 1; in tls_process_server_hello() 1683 labellen, NULL, 0, 0) <= 0) { in tls_process_server_hello() 3369 size_t labellen; in tls_client_key_exchange_post_work() local 3379 labellen = sizeof(labelbuffer) - 1; in tls_client_key_exchange_post_work() 3381 labellen += 1; in tls_client_key_exchange_post_work() 3385 labellen, NULL, 0, 0) <= 0) { in tls_client_key_exchange_post_work()
|
D | statem_srvr.c | 855 size_t labellen; in ossl_statem_server_post_work() local 865 labellen = sizeof(labelbuffer) - 1; in ossl_statem_server_post_work() 867 labellen += 1; in ossl_statem_server_post_work() 871 labellen, NULL, 0, in ossl_statem_server_post_work() 3356 size_t labellen; in tls_post_process_client_key_exchange() local 3365 labellen = sizeof(labelbuffer) - 1; in tls_post_process_client_key_exchange() 3367 labellen += 1; in tls_post_process_client_key_exchange() 3371 labellen, NULL, 0, in tls_post_process_client_key_exchange()
|
/third_party/node/deps/ngtcp2/ngtcp2/crypto/includes/ngtcp2/ |
D | ngtcp2_crypto.h | 193 size_t labellen);
|
/third_party/lwip/src/apps/mdns/ |
D | mdns.c | 806 u8_t labellen; in mdns_compress_domain() local 821 labellen = *ptr; in mdns_compress_domain() 822 writelen += 1 + labellen; in mdns_compress_domain() 823 ptr += 1 + labellen; in mdns_compress_domain()
|