Lines Matching defs:ikey
551 static void pbkdf2(char *passwd, unsigned char *salt, unsigned char *ikey)
555 HASH_COUNT, KEY_LEN_BYTES+IV_LEN_BYTES, ikey);
562 unsigned char ikey[32+32] = { 0 }; /* Big enough to hold a 256 bit key and 256 bit IV */
567 pbkdf2(passwd, salt, ikey);
570 if (! EVP_EncryptInit(&e_ctx, EVP_aes_128_cbc(), ikey, ikey+KEY_LEN_BYTES)) {
599 unsigned char ikey[32+32] = { 0 }; /* Big enough to hold a 256 bit key and 256 bit IV */
604 pbkdf2(passwd, salt, ikey);
607 if (! EVP_DecryptInit(&d_ctx, EVP_aes_128_cbc(), ikey, ikey+KEY_LEN_BYTES)) {