Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/hkdf/
H A Dhkdf_test.c32 const char *ikm; member
53 .ikm = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
72 .ikm = "\x00\x01\x02\x03\x04\x05\x06\x07"
119 .ikm = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
136 .ikm = "\x0b\x0b\x0b\x0b\x0b\x0b\x0b\x0b"
154 .ikm = "\x0c\x0c\x0c\x0c\x0c\x0c\x0c\x0c"
189 ret = hkdf_sha512((uint8_t *)tv->ikm, tv->ikm_len, (uint8_t *)tv->salt, in run_test()
/freebsd/contrib/bearssl/src/kdf/
H A Dhkdf.c49 br_hkdf_inject(br_hkdf_context *hc, const void *ikm, size_t ikm_len) in br_hkdf_inject() argument
51 br_hmac_update(&hc->u.hmac_ctx, ikm, ikm_len); in br_hkdf_inject()
/freebsd/crypto/openssl/providers/implementations/kdfs/
H A Dhkdf.c56 const unsigned char *ikm, size_t ikm_len,
405 const unsigned char *ikm, size_t ikm_len, in HKDF()
420 salt, salt_len, ikm, ikm_len, prk, prk_len)) in HKDF()
456 const unsigned char *ikm, size_t ikm_len, in HKDF_Extract()
470 salt_len, ikm, ikm_len, prk, EVP_MD_get_size(evp_md), NULL)
397 HKDF(OSSL_LIB_CTX * libctx,const EVP_MD * evp_md,const unsigned char * salt,size_t salt_len,const unsigned char * ikm,size_t ikm_len,const unsigned char * info,size_t info_len,unsigned char * okm,size_t okm_len) HKDF() argument
448 HKDF_Extract(OSSL_LIB_CTX * libctx,const EVP_MD * evp_md,const unsigned char * salt,size_t salt_len,const unsigned char * ikm,size_t ikm_len,unsigned char * prk,size_t prk_len) HKDF_Extract() argument
/freebsd/contrib/bearssl/inc/
H A Dbearssl_kdf.h173 void br_hkdf_inject(br_hkdf_context *hc, const void *ikm, size_t ikm_len);
/freebsd/contrib/bearssl/test/
H A Dtest_crypto.c1036 unsigned char ikm[100], saltbuf[100], info[100], okm[100], tmp[107]; in test_HKDF_inner() local
1042 ikm_len = hextobin(ikm, ikmhex); in test_HKDF_inner()
1054 br_hkdf_inject(&hc, ikm, ikm_len); in test_HKDF_inner()
1061 br_hkdf_inject(&hc, &ikm[u], 1); in test_HKDF_inner()
1070 br_hkdf_inject(&hc, ikm, ikm_len); in test_HKDF_inner()
/freebsd/contrib/wpa/src/crypto/
H A Dcrypto_openssl.c4753 const u8 *ikm, size_t ikm_len, u8 *prk) in hpke_labeled_extract() argument
4803 EVP_MAC_update(hctx, ikm, ikm_len) != 1) in hpke_labeled_extract()
4825 HMAC_Update(hctx, ikm, ikm_len); in hpke_labeled_extract()