Home
last modified time | relevance | path

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

/external/openssl/crypto/engine/
Deng_padlock.c914 unsigned char *ivp=ctx->iv; in padlock_aes_cipher() local
923 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; in padlock_aes_cipher()
928 *(out_arg++) = c ^ ivp[chunk]; in padlock_aes_cipher()
929 ivp[chunk++] = c, nbytes--; in padlock_aes_cipher()
939 *(out_arg++) = *(in_arg++) ^ ivp[chunk]; in padlock_aes_cipher()
1073 unsigned char *ivp = cdata->iv; in padlock_aes_cipher() local
1075 if (iv != ivp) { in padlock_aes_cipher()
1076 memcpy(ivp, iv, AES_BLOCK_SIZE); in padlock_aes_cipher()
1077 iv = ivp; in padlock_aes_cipher()
1083 padlock_xcrypt_ecb(1,cdata,ivp,ivp); in padlock_aes_cipher()
[all …]
/external/openssl/crypto/aes/
Daes_ige.c97 aes_block_t *ivp = (aes_block_t *)ivec; in AES_ige_encrypt() local
106 outp->data[n] = inp->data[n] ^ ivp->data[n]; in AES_ige_encrypt()
110 ivp = outp; in AES_ige_encrypt()
116 memcpy(ivec, ivp->data, AES_BLOCK_SIZE); in AES_ige_encrypt()
152 aes_block_t *ivp = (aes_block_t *)ivec; in AES_ige_encrypt() local
165 outp->data[n] ^= ivp->data[n]; in AES_ige_encrypt()
166 ivp = inp; in AES_ige_encrypt()
172 memcpy(ivec, ivp->data, AES_BLOCK_SIZE); in AES_ige_encrypt()
/external/ipsec-tools/src/racoon/
Doakley.c3207 oakley_do_encrypt(iph1, msg, ivep, ivp) in oakley_do_encrypt() argument
3209 vchar_t *msg, *ivep, *ivp;
3279 memset(ivp->v, 0, ivp->l);
3280 memcpy(ivp->v, (caddr_t)&new->v[new->l - blen], blen);
3283 plogdump(LLV_DEBUG, ivp->v, ivp->l);