/aosp_15_r20/external/scapy/scapy/layers/tls/crypto/ |
H A D | cipher_block.py | 114 key_len = 16 variable in Cipher_AES_128_CBC 117 key_len = 32 variable in Cipher_AES_256_CBC 124 key_len = 16 variable in Cipher_CAMELLIA_128_CBC 127 key_len = 32 variable in Cipher_CAMELLIA_256_CBC 137 key_len = 8 variable in Cipher_DES_CBC 149 key_len = 5 variable in Cipher_DES40_CBC 155 key_len = 24 variable in Cipher_3DES_EDE_CBC 161 key_len = 16 variable in Cipher_IDEA_CBC 167 key_len = 16 variable in Cipher_SEED_CBC 209 key_len = 16 variable in Cipher_RC2_CBC [all …]
|
H A D | cipher_aead.py | 226 key_len = 16 variable in Cipher_AES_128_GCM 230 key_len = 32 variable in Cipher_AES_256_GCM 236 key_len = 16 variable in Cipher_AES_128_CCM 240 key_len = 32 variable in Cipher_AES_256_CCM 246 key_len = 32 variable in Cipher_AES_256_CCM_8 374 key_len = 32 variable in Cipher_CHACHA20_POLY1305_TLS13 395 key_len = 16 variable in Cipher_AES_128_GCM_TLS13 400 key_len = 32 variable in Cipher_AES_256_GCM_TLS13 406 key_len = 16 variable in Cipher_AES_128_CCM_TLS13
|
/aosp_15_r20/external/trusty/arm-trusted-firmware/plat/arm/board/common/ |
D | board_arm_trusted_boot.c | 58 int arm_get_rotpk_info_regs(void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info_regs() 95 int arm_get_rotpk_info_dev(void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info_dev() 107 int arm_get_rotpk_info_dev(void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info_dev() 120 static int get_rotpk_info(void **key_ptr, unsigned int *key_len, in get_rotpk_info() 135 unsigned int *key_len, unsigned int *flags) in arm_get_rotpk_info() 142 int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info() 168 int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info()
|
/aosp_15_r20/external/wpa_supplicant_8/src/crypto/ |
H A D | crypto_gnutls.c | 101 static int gnutls_hmac_vector(int algo, const u8 *key, size_t key_len, in gnutls_hmac_vector() 128 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector() 136 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5() 143 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector() 151 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1() 160 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() 168 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() 179 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector() 187 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384() 198 int hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha512_vector() [all …]
|
H A D | crypto_nettle.c | 108 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector() 126 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5() 133 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector() 151 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1() 160 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() 178 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() 189 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector() 207 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384() 218 int hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha512_vector() 236 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512() [all …]
|
H A D | crypto_linux.c | 58 size_t key_len, size_t num_elem, in linux_af_alg_hash_vector() 171 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector() 179 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5() 186 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector() 194 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1() 201 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() 209 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() 216 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector() 224 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384() 240 size_t key_len) in crypto_hash_init() [all …]
|
H A D | crypto_openssl.c | 856 size_t key_len) in crypto_cipher_init() 1326 size_t key_len) in crypto_hash_init() 1521 size_t key_len, size_t num_elem, in openssl_hmac_vector() 1566 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector() 1574 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5() 1583 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector() 1591 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1() 1600 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() 1608 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() 1619 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector() [all …]
|
H A D | crypto_wolfssl.c | 375 size_t key_len, size_t num_elem, in wolfssl_hmac_vector() 423 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector() 431 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5() 440 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector() 448 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1() 457 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector() 465 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256() 476 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector() 484 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384() 495 int hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha512_vector() [all …]
|
H A D | aes-gcm.c | 175 static void * aes_gcm_init_hash_subkey(const u8 *key, size_t key_len, u8 *H) in aes_gcm_init_hash_subkey() 254 int aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, in aes_gcm_ae() 288 int aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, in aes_gcm_ad() 322 int aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, in aes_gmac()
|
/aosp_15_r20/external/arm-trusted-firmware/plat/arm/board/common/ |
H A D | board_arm_trusted_boot.c | 58 int arm_get_rotpk_info_regs(void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info_regs() 98 int arm_get_rotpk_info_dev(void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info_dev() 112 int arm_get_rotpk_info_cc(void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info_cc() 133 static int get_rotpk_info(void **key_ptr, unsigned int *key_len, in get_rotpk_info() 154 unsigned int *key_len, unsigned int *flags) in arm_get_rotpk_info() 161 int arm_get_rotpk_info(void *cookie, void **key_ptr, unsigned int *key_len, in arm_get_rotpk_info()
|
/aosp_15_r20/external/boringssl/src/crypto/cipher_extra/ |
H A D | e_tls.c | 57 static int aead_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, in aead_tls_init() 390 size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_init() 397 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_implicit_iv_init() 404 const uint8_t *key, size_t key_len, in aead_aes_128_cbc_sha256_tls_init() 412 size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_init() 419 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_implicit_iv_init() 426 const uint8_t *key, size_t key_len, in aead_des_ede3_cbc_sha1_tls_init() 434 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_des_ede3_cbc_sha1_tls_implicit_iv_init()
|
H A D | aead_test.cc | 449 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 476 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 535 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 616 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 737 const uint8_t *key, size_t key_len) { in aead_ctx_init_for_seal() 743 const uint8_t *key, size_t key_len) { in aead_ctx_init_for_open() 774 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local
|
/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/ |
D | e_tls.c | 63 static int aead_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, in aead_tls_init() 396 size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_init() 403 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_implicit_iv_init() 410 size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_init() 417 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_implicit_iv_init() 424 const uint8_t *key, size_t key_len, in aead_des_ede3_cbc_sha1_tls_init() 432 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_des_ede3_cbc_sha1_tls_implicit_iv_init() 452 size_t key_len, size_t tag_len, in aead_null_sha1_tls_init()
|
D | aead_test.cc | 451 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 478 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 537 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 618 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 739 const uint8_t *key, size_t key_len) { in aead_ctx_init_for_seal() 745 const uint8_t *key, size_t key_len) { in aead_ctx_init_for_open() 776 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/cipher_extra/ |
H A D | e_tls.c | 57 static int aead_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, in aead_tls_init() 390 size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_init() 397 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_implicit_iv_init() 404 const uint8_t *key, size_t key_len, in aead_aes_128_cbc_sha256_tls_init() 412 size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_init() 419 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_implicit_iv_init() 426 const uint8_t *key, size_t key_len, in aead_des_ede3_cbc_sha1_tls_init() 434 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_des_ede3_cbc_sha1_tls_implicit_iv_init()
|
H A D | aead_test.cc | 449 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 476 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 535 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 616 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 737 const uint8_t *key, size_t key_len) { in aead_ctx_init_for_seal() 743 const uint8_t *key, size_t key_len) { in aead_ctx_init_for_open() 774 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local
|
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/cipher_extra/ |
D | e_tls.c | 63 static int aead_tls_init(EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, in aead_tls_init() 396 size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_init() 403 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_128_cbc_sha1_tls_implicit_iv_init() 410 size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_init() 417 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_aes_256_cbc_sha1_tls_implicit_iv_init() 424 const uint8_t *key, size_t key_len, in aead_des_ede3_cbc_sha1_tls_init() 432 EVP_AEAD_CTX *ctx, const uint8_t *key, size_t key_len, size_t tag_len, in aead_des_ede3_cbc_sha1_tls_implicit_iv_init() 452 size_t key_len, size_t tag_len, in aead_null_sha1_tls_init()
|
D | aead_test.cc | 451 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 478 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 537 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 618 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local 739 const uint8_t *key, size_t key_len) { in aead_ctx_init_for_seal() 745 const uint8_t *key, size_t key_len) { in aead_ctx_init_for_open() 776 const size_t key_len = EVP_AEAD_key_length(aead()); in TEST_P() local
|
/aosp_15_r20/external/curl/lib/ |
H A D | hash.c | 90 mk_hash_element(const void *key, size_t key_len, const void *p, in mk_hash_element() 108 void *Curl_hash_add2(struct Curl_hash *h, void *key, size_t key_len, void *p, in Curl_hash_add2() 157 Curl_hash_add(struct Curl_hash *h, void *key, size_t key_len, void *p) in Curl_hash_add() 167 int Curl_hash_delete(struct Curl_hash *h, void *key, size_t key_len) in Curl_hash_delete() 193 Curl_hash_pick(struct Curl_hash *h, void *key, size_t key_len) in Curl_hash_pick()
|
/aosp_15_r20/external/cronet/third_party/boringssl/src/crypto/evp/ |
H A D | p_rsa.c | 173 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_sign() local 228 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify() local 245 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify_recover() local 309 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_encrypt() local 341 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_decrypt() local
|
/aosp_15_r20/external/wpa_supplicant_8/src/eap_common/ |
H A D | ikev2_common.c | 56 int ikev2_integ_hash(int alg, const u8 *key, size_t key_len, const u8 *data, in ikev2_integ_hash() 97 int ikev2_prf_hash(int alg, const u8 *key, size_t key_len, in ikev2_prf_hash() 113 int ikev2_prf_plus(int alg, const u8 *key, size_t key_len, in ikev2_prf_plus() 175 int ikev2_encr_encrypt(int alg, const u8 *key, size_t key_len, const u8 *iv, in ikev2_encr_encrypt() 210 int ikev2_encr_decrypt(int alg, const u8 *key, size_t key_len, const u8 *iv, in ikev2_encr_decrypt()
|
H A D | eap_eke_common.c | 183 static int eap_eke_prf(u8 prf, const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf() 208 static int eap_eke_prf_hmac_sha1(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha1() 249 static int eap_eke_prf_hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in eap_eke_prf_hmac_sha256() 290 static int eap_eke_prfplus(u8 prf, const u8 *key, size_t key_len, in eap_eke_prfplus() 310 size_t key_len = 16; /* Only AES-128-CBC is used here */ in eap_eke_derive_key() local
|
/aosp_15_r20/external/boringssl/src/crypto/evp/ |
H A D | p_rsa.c | 173 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_sign() local 228 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify() local 245 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify_recover() local 309 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_encrypt() local 341 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_decrypt() local
|
/aosp_15_r20/external/rust/android-crates-io/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | p_rsa.c | 175 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_sign() local 230 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify() local 247 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify_recover() local 311 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_encrypt() local 343 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_decrypt() local
|
/aosp_15_r20/external/rust/crates/quiche/deps/boringssl/src/crypto/evp/ |
D | p_rsa.c | 175 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_sign() local 230 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify() local 247 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_verify_recover() local 311 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_encrypt() local 343 const size_t key_len = EVP_PKEY_size(ctx->pkey); in pkey_rsa_decrypt() local
|