Searched refs:derive_op (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_public_api/ |
| H A D | rk_crypto_api.c | 2128 TEE_OperationHandle derive_op = NULL; in rk_sm2_kep_genkey() local 2147 res = TEE_AllocateOperation(&derive_op, algo, TEE_MODE_DERIVE, keysize * 2); in rk_sm2_kep_genkey() 2213 res = TEE_SetOperationKey2(derive_op, keyA, eph_keyA); in rk_sm2_kep_genkey() 2283 TEE_DeriveKey(derive_op, params, param_count, sv_handle); in rk_sm2_kep_genkey() 2299 if (derive_op) in rk_sm2_kep_genkey() 2300 TEE_FreeOperation(derive_op); in rk_sm2_kep_genkey() 2432 TEE_OperationHandle derive_op = NULL; in rk_pkcs5_pbkdf2_hmac() local 2467 res = TEE_AllocateOperation(&derive_op, algo, TEE_MODE_DERIVE, in rk_pkcs5_pbkdf2_hmac() 2474 res = TEE_SetOperationKey(derive_op, password_obj); in rk_pkcs5_pbkdf2_hmac() 2500 TEE_DeriveKey(derive_op, params, param_count, key_obj); in rk_pkcs5_pbkdf2_hmac() [all …]
|
| /OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_public_api/ |
| H A D | rk_crypto_api.c | 1979 TEE_OperationHandle derive_op = NULL; in rk_pkcs5_pbkdf2_hmac() local 2014 res = TEE_AllocateOperation(&derive_op, algo, TEE_MODE_DERIVE, in rk_pkcs5_pbkdf2_hmac() 2021 res = TEE_SetOperationKey(derive_op, password_obj); in rk_pkcs5_pbkdf2_hmac() 2047 TEE_DeriveKey(derive_op, params, param_count, key_obj); in rk_pkcs5_pbkdf2_hmac() 2062 if (derive_op) in rk_pkcs5_pbkdf2_hmac() 2063 TEE_FreeOperation(derive_op); in rk_pkcs5_pbkdf2_hmac() 2073 TEE_OperationHandle derive_op = NULL; in rk_hkdf_genkey() local 2114 res = TEE_AllocateOperation(&derive_op, algo, TEE_MODE_DERIVE, ikm_len * 8); in rk_hkdf_genkey() 2120 res = TEE_SetOperationKey(derive_op, password_obj); in rk_hkdf_genkey() 2146 TEE_DeriveKey(derive_op, params, param_count, key_obj); in rk_hkdf_genkey() [all …]
|