Home
last modified time | relevance | path

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

/hardware/samsung_slsi/exynos5/libkeymaster/
Dkeymaster_mobicore.cpp139 uint8_t kbuf[RSA_KEY_BUFFER_SIZE]; in exynos_km_import_keypair() local
176 metadata.lenpubmod = BN_bn2bin(rsa->n, kbuf + key_len); in exynos_km_import_keypair()
189 metadata.lenpubexp = BN_bn2bin(rsa->e, kbuf + key_len); in exynos_km_import_keypair()
196 metadata.rsacrtpriv.lenp = BN_bn2bin(rsa->p, kbuf + key_len); in exynos_km_import_keypair()
198 metadata.rsacrtpriv.lenq = BN_bn2bin(rsa->q, kbuf + key_len); in exynos_km_import_keypair()
200 metadata.rsacrtpriv.lendp = BN_bn2bin(rsa->dmp1, kbuf + key_len); in exynos_km_import_keypair()
202 metadata.rsacrtpriv.lendq = BN_bn2bin(rsa->dmq1, kbuf + key_len); in exynos_km_import_keypair()
204 metadata.rsacrtpriv.lenqinv = BN_bn2bin(rsa->iqmp, kbuf + key_len); in exynos_km_import_keypair()
208 metadata.rsapriv.lenpriexp = BN_bn2bin(rsa->p, kbuf + key_len); in exynos_km_import_keypair()
211 memcpy(kbuf, &metadata, sizeof(metadata)); in exynos_km_import_keypair()
[all …]