Lines Matching refs:ikey
1251 unsigned char *ikey, void *params UNUSED) argument
1258 HASH_COUNT, KEY_LEN_BYTES+IV_LEN_BYTES, ikey);
1264 unsigned char *ikey, void *params) argument
1277 salt, SALT_LEN, N, r, p, ikey,
1284 unsigned char *ikey, void *params) argument
1298 salt, SALT_LEN, N, r, p, ikey,
1306 if (keymaster_sign_object(ftr, ikey, KEY_LEN_BYTES + IV_LEN_BYTES,
1313 N, r, p, ikey, KEY_LEN_BYTES + IV_LEN_BYTES);
1329 unsigned char ikey[32+32] = { 0 }; /* Big enough to hold a 256 bit key and 256 bit IV */ local
1344 if (scrypt_keymaster(passwd, salt, ikey, crypt_ftr)) {
1351 if (scrypt(passwd, salt, ikey, crypt_ftr)) {
1364 if (! EVP_EncryptInit_ex(&e_ctx, EVP_aes_128_cbc(), NULL, ikey, ikey+KEY_LEN_BYTES)) {
1395 rc = crypto_scrypt(ikey, KEY_LEN_BYTES,
1414 unsigned char ikey[32+32] = { 0 }; /* Big enough to hold a 256 bit key and 256 bit IV */ local
1420 if (kdf(passwd, salt, ikey, kdf_params)) {
1427 if (! EVP_DecryptInit_ex(&d_ctx, EVP_aes_128_cbc(), NULL, ikey, ikey+KEY_LEN_BYTES)) {
1448 memcpy(*intermediate_key, ikey, KEY_LEN_BYTES);