Home
last modified time | relevance | path

Searched defs:key_len (Results 1 – 25 of 109) sorted by relevance

12345

/dragonfly/contrib/wpa_supplicant/src/crypto/
H A Dcrypto_gnutls.c101 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()
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()
206 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512()
[all …]
H A Dcrypto_nettle.c108 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 Dcrypto_linux.c58 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()
186 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
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()
415 linux_af_alg_skcipher(const char *alg, const u8 *key, size_t key_len) in linux_af_alg_skcipher()
757 int omac1_aes_vector(const u8 *key, size_t key_len, size_t num_elem, in omac1_aes_vector()
[all …]
H A Dsha384.c26 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
100 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384()
H A Dsha512.c26 int hmac_sha512_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha512_vector()
100 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512()
H A Dsha256.c26 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
100 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
H A Dmd5.c26 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
105 int hmac_md5(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_md5()
H A Dsha1.c26 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
104 int hmac_sha1(const u8 *key, size_t key_len, const u8 *data, size_t data_len, in hmac_sha1()
H A Dcrypto_wolfssl.c160 size_t key_len, size_t num_elem, in wolfssl_hmac_vector()
185 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
202 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
219 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
227 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
238 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
246 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384()
265 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512()
484 size_t key_len) in crypto_cipher_init()
883 size_t key_len) in crypto_hash_init()
[all …]
H A Dsha256-prf.c30 int sha256_prf(const u8 *key, size_t key_len, const char *label, in sha256_prf()
54 int sha256_prf_bits(const u8 *key, size_t key_len, const char *label, in sha256_prf_bits()
H A Dsha512-prf.c30 int sha512_prf(const u8 *key, size_t key_len, const char *label, in sha512_prf()
54 int sha512_prf_bits(const u8 *key, size_t key_len, const char *label, in sha512_prf_bits()
H A Dsha384-prf.c30 int sha384_prf(const u8 *key, size_t key_len, const char *label, in sha384_prf()
54 int sha384_prf_bits(const u8 *key, size_t key_len, const char *label, in sha384_prf_bits()
H A Daes-gcm.c175 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()
H A Daes-siv.c64 static int aes_s2v(const u8 *key, size_t key_len, in aes_s2v()
119 int aes_siv_encrypt(const u8 *key, size_t key_len, in aes_siv_encrypt()
162 int aes_siv_decrypt(const u8 *key, size_t key_len, in aes_siv_decrypt()
H A Dcrypto_openssl.c636 size_t key_len) in crypto_cipher_init()
984 size_t key_len) in crypto_hash_init()
1070 size_t key_len, size_t num_elem, in openssl_hmac_vector()
1101 int hmac_md5_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_md5_vector()
1128 int hmac_sha1_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha1_vector()
1145 int hmac_sha256_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha256_vector()
1153 int hmac_sha256(const u8 *key, size_t key_len, const u8 *data, in hmac_sha256()
1164 int hmac_sha384_vector(const u8 *key, size_t key_len, size_t num_elem, in hmac_sha384_vector()
1172 int hmac_sha384(const u8 *key, size_t key_len, const u8 *data, in hmac_sha384()
1191 int hmac_sha512(const u8 *key, size_t key_len, const u8 *data, in hmac_sha512()
[all …]
H A Dcrypto_internal.c35 size_t key_len; member
40 size_t key_len) in crypto_hash_init()
H A Dsha1-prf.c30 int sha1_prf(const u8 *key, size_t key_len, const char *label, in sha1_prf()
H A Dsha1-tprf.c29 int sha1_t_prf(const u8 *key, size_t key_len, const char *label, in sha1_t_prf()
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_hmac.c51 __hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len) in __hmac_sha1_init()
84 __hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len) in __hmac_sha1_init()
156 __hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len) in __hmac_sha1_init()
203 __hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len) in __hmac_sha1_init()
231 __hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len) in __hmac_sha1_init()
267 __hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len) in __hmac_sha1_init()
H A Darchive_cryptor_private.h59 unsigned key_len; member
96 unsigned key_len; member
120 unsigned key_len; member
135 unsigned key_len; member
153 #define archive_decrypto_aes_ctr_init(ctx, key, key_len) \ argument
160 #define archive_encrypto_aes_ctr_init(ctx, key, key_len) \ argument
H A Darchive_cryptor.c165 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) in aes_ctr_init()
203 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) in aes_ctr_init()
304 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) in aes_ctr_init()
337 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) in aes_ctr_init()
388 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) in aes_ctr_init()
437 aes_ctr_init(archive_crypto_ctx *ctx, const uint8_t *key, size_t key_len) in aes_ctr_init()
/dragonfly/contrib/wpa_supplicant/src/eap_common/
H A Dikev2_common.c56 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 Deap_pax_common.c30 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_kdf()
87 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac()
H A Deap_eke_common.c183 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
/dragonfly/crypto/libressl/tls/
H A Dtls_config.c375 size_t cert_len, const uint8_t *key, size_t key_len, in tls_config_add_keypair_mem_internal()
403 size_t cert_len, const uint8_t *key, size_t key_len) in tls_config_add_keypair_mem()
419 size_t cert_len, const uint8_t *key, size_t key_len, const uint8_t *staple, in tls_config_add_keypair_ocsp_mem()
646 size_t cert_len, const uint8_t *key, size_t key_len, in tls_config_set_keypair_mem_internal()
670 size_t cert_len, const uint8_t *key, size_t key_len) in tls_config_set_keypair_mem()
686 size_t cert_len, const uint8_t *key, size_t key_len, in tls_config_set_keypair_ocsp_mem()

12345