Home
last modified time | relevance | path

Searched refs:okm (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/fs/crypto/
H A Dhkdf.c118 u8 *okm, unsigned int okmlen) in fscrypt_hkdf_expand() argument
161 memcpy(&okm[i], tmp, okmlen - i); in fscrypt_hkdf_expand()
164 err = crypto_shash_finup(desc, &counter, 1, &okm[i]); in fscrypt_hkdf_expand()
169 prev = &okm[i]; in fscrypt_hkdf_expand()
174 memzero_explicit(okm, okmlen); /* so caller doesn't need to */ in fscrypt_hkdf_expand()
H A Dfscrypt_private.h338 u8 *okm, unsigned int okmlen);
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/host_include/mbedtls/
H A Dhkdf.h76 unsigned char *okm, size_t okm_len );
135 size_t info_len, unsigned char *okm, size_t okm_len );
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/host_include/mbedtls/
H A Dhkdf.h76 unsigned char *okm, size_t okm_len );
135 size_t info_len, unsigned char *okm, size_t okm_len );
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/mbedtls/
H A Dhkdf.h76 unsigned char *okm, size_t okm_len );
135 size_t info_len, unsigned char *okm, size_t okm_len );
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/mbedtls/
H A Dhkdf.h76 unsigned char *okm, size_t okm_len );
135 size_t info_len, unsigned char *okm, size_t okm_len );
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Dregression_8000.c333 const uint8_t *okm; in xtest_test_derivation_hkdf() member
432 if (!ADBG_EXPECT_BUFFER(c, hc->okm, hc->okm_len, out, out_size)) in xtest_test_derivation_hkdf()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_public_api/
H A Drk_crypto_api.h162 uint32_t algo, uint32_t okm_len, uint8_t *okm);
H A Drk_crypto_api.c2070 uint32_t algo, uint32_t okm_len, uint8_t *okm) in rk_hkdf_genkey() argument
2080 if (okm == NULL && okm_len != 0) in rk_hkdf_genkey()
2149 res = TEE_GetObjectBufferAttribute(key_obj, TEE_ATTR_SECRET_VALUE, okm, in rk_hkdf_genkey()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_public_api/
H A Drk_crypto_api.h188 uint32_t algo, uint32_t okm_len, uint8_t *okm);
H A Drk_crypto_api.c2523 uint32_t algo, uint32_t okm_len, uint8_t *okm) in rk_hkdf_genkey() argument
2533 if (okm == NULL && okm_len != 0) in rk_hkdf_genkey()
2602 res = TEE_GetObjectBufferAttribute(key_obj, TEE_ATTR_SECRET_VALUE, okm, in rk_hkdf_genkey()