Searched refs:okm_len (Results 1 – 5 of 5) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | hkdf.c | 19 unsigned char *okm, size_t okm_len) in mbedtls_hkdf() argument 28 info, info_len, okm, okm_len); in mbedtls_hkdf() 65 size_t info_len, unsigned char *okm, size_t okm_len) in mbedtls_hkdf_expand() argument 91 n = okm_len / hash_len; in mbedtls_hkdf_expand() 93 if (okm_len % hash_len != 0) { in mbedtls_hkdf_expand() 148 num_to_copy = i != n ? hash_len : okm_len - where; in mbedtls_hkdf_expand()
|
| /optee_os/core/tee/ |
| H A D | tee_cryp_hkdf.c | 67 size_t info_len, uint8_t *okm, size_t okm_len) in hkdf_expand() argument 93 n = okm_len / hash_len; in hkdf_expand() 94 if ((okm_len % hash_len) != 0) in hkdf_expand() 134 memcpy(okm + where, tn, (i < n) ? hash_len : (okm_len - where)); in hkdf_expand() 147 size_t okm_len) in tee_cryp_hkdf() argument 158 okm_len); in tee_cryp_hkdf()
|
| H A D | tee_svc_cryp.c | 3341 size_t *info_len, size_t *okm_len, in get_hkdf_params() argument 3350 *salt_len = *info_len = *okm_len = 0; in get_hkdf_params() 3378 *okm_len = p->content.value.a; in get_hkdf_params() 3853 size_t salt_len, info_len, okm_len; in syscall_cryp_derive_key() local 3859 &salt_len, &info, &info_len, &okm_len, in syscall_cryp_derive_key() 3865 if (okm_len > ik->alloc_size) { in syscall_cryp_derive_key() 3872 okm_len); in syscall_cryp_derive_key() 3874 sk->key_size = okm_len; in syscall_cryp_derive_key()
|
| /optee_os/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | hkdf.h | 59 unsigned char *okm, size_t okm_len); 118 size_t info_len, unsigned char *okm, size_t okm_len);
|
| /optee_os/core/include/tee/ |
| H A D | tee_cryp_hkdf.h | 14 size_t okm_len);
|