Home
last modified time | relevance | path

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

/openssl/engines/
H A De_padlock.c348 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; in padlock_cfb_cipher()
372 unsigned char *ivp = cdata->iv; in padlock_cfb_cipher() local
380 padlock_aes_block(ivp, ivp, cdata); in padlock_cfb_cipher()
385 *(out_arg++) = c ^ *ivp; in padlock_cfb_cipher()
386 *(ivp++) = c, nbytes--; in padlock_cfb_cipher()
390 padlock_aes_block(ivp, ivp, cdata); in padlock_cfb_cipher()
393 *ivp = *(out_arg++) = *(in_arg++) ^ *ivp; in padlock_cfb_cipher()
394 ivp++, nbytes--; in padlock_cfb_cipher()
440 unsigned char *ivp = cdata->iv; in padlock_ofb_cipher() local
446 padlock_aes_block(ivp, ivp, cdata); in padlock_ofb_cipher()
[all …]
/openssl/crypto/aes/asm/
H A Daesfx-sparcv9.pl416 ld [$ivp + 4], %f1
418 ld [$ivp + 8], %f2
419 ld [$ivp + 12], %f3
518 st %f1, [$ivp + 4]
519 st %f2, [$ivp + 8]
520 st %f3, [$ivp + 12]
643 st %f1, [$ivp + 4]
644 st %f2, [$ivp + 8]
645 st %f3, [$ivp + 12]
726 st $iv0#lo, [$ivp + 4]
[all …]
H A Daes-s390x.pl1189 my $ivp="%r6";
1206 lg %r1,8($ivp)
1224 stg %r0,0($ivp)
1225 stg %r1,8($ivp)
1300 st $s0,0($ivp)
1301 st $s1,4($ivp)
1302 st $s2,8($ivp)
1325 lg $t0,0($ivp)
1326 lg $t1,8($ivp)
1391 my $ivp="%r6";
[all …]
H A Daesni-sha1-x86_64.pl237 movdqu ($ivp),$iv # load IV
238 mov $ivp,88(%rsp) # save $ivp
241 my $rounds="${ivp}d";
713 mov 88(%rsp),$ivp # restore $ivp
725 movups $iv,($ivp) # write IV
904 #mov $ivp,88(%rsp) # save $ivp
1114 vmovdqu ($ivp),$iv # load IV
1115 mov $ivp,88(%rsp) # save $ivp
1118 my $rounds="${ivp}d";
1461 mov 88(%rsp),$ivp # restore $ivp
[all …]
H A Daesni-sha256-x86_64.pl380 mov $ivp,$_ivp
408 vmovdqu ($ivp),$iv # load IV
620 mov $_ivp,$ivp
623 vmovdqu $iv,($ivp) # output IV
696 mov $ivp,$_ivp
724 vmovdqu ($ivp),$iv # load IV
889 mov $_ivp,$ivp
1011 mov $ivp,$_ivp
1040 vmovdqu ($ivp),$iv # load IV
1272 mov 16*$SZ+4*8($Tbl),$ivp
[all …]
H A Daesp8-ppc.pl529 lvsl $inpperm,0,$ivp
660 lvx $outhead,0,$ivp
664 stvx $inout,0,$ivp
666 stvx $inout,$idx,$ivp
1288 lvsl $inpperm,0,$ivp
1957 lvsl $inpperm,0,$ivp
2127 ${UCMP}i $ivp,0
2137 stvx_u $tweak,0,$ivp
2383 ${UCMP}i $ivp,0
2949 ${UCMP}i $ivp,0
[all …]
H A Daesv8-armx.pl1267 vld1.8 {$ivec},[$ivp]
1738 vst1.8 {$ivec},[$ivp]
1792 ldr $ctr, [$ivp, #12]
1794 vld1.8 {$dat0},[$ivp]
1796 vld1.32 {$dat0},[$ivp]
2540 ldr $ctr, [$ivp, #12]
2542 vld1.8 {$dat0},[$ivp]
3027 vld1.8 {$iv0},[$ivp]
3114 vld1.8 {$iv0},[$ivp]
3704 vld1.8 {$iv0},[$ivp]
[all …]
H A Dvpaes-x86_64.pl896 my ($inp,$out,$len,$key,$ivp,$enc)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9");
929 movdqu ($ivp),%xmm6 # load IV
958 movdqu %xmm6,($ivp) # save IV
H A Daesni-x86_64.pl224 $ivp="%r8"; # cbc, ctr, ...
1005 movdqu ($ivp),$iv
1098 movups ($ivp),$iv
1204 my ($key0,$ctr)=("%ebp","${ivp}d");
1219 movups ($ivp),$inout0
1260 movdqu ($ivp),$inout0
1262 mov 12($ivp),$ctr # counter LSB
3785 movups $inout0,($ivp)
3813 movdqu ($ivp),$inout1 # load iv
3853 movups ($ivp),$iv
[all …]
H A Dvpaes-loongarch64.pl802 my ($inp,$out,$len,$key,$ivp,$enc)=("$a0","$a1","$a2","$a3","$a4","$a5");
826 vld $vr6,$ivp,0 # load IV
856 vst $vr6,$ivp,0 # save IV
H A Daes-c64xplus.pl986 my ($inp,$out,$blocks,$key,$ivp)=("A4","B4","A6","B6","A8");
991 LDNDW *${ivp}[0],A31:A30 ; load counter value
994 LDNDW *${ivp}[1],B31:B30
H A Dbsaes-armv7.pl1115 my ($inp,$out,$len,$key, $ivp,$fp,$rounds)=map("r$_",(0..3,8..10));
1142 ldr $ivp, [ip] @ IV is 1st arg on the stack
1183 vld1.8 {@XMM[15]}, [$ivp] @ load IV
1384 vst1.8 {@XMM[15]}, [$ivp] @ return IV
H A Dbsaes-x86_64.pl116 my ($inp,$out,$len,$key,$ivp)=("%rdi","%rsi","%rdx","%rcx");
/openssl/crypto/aes/
H A Daes_ige.c67 aes_block_t *ivp = (aes_block_t *) ivec; in AES_ige_encrypt() local
75 outp->data[n] = inp->data[n] ^ ivp->data[n]; in AES_ige_encrypt()
80 ivp = outp; in AES_ige_encrypt()
86 memcpy(ivec, ivp->data, AES_BLOCK_SIZE); in AES_ige_encrypt()
119 aes_block_t *ivp = (aes_block_t *) ivec; in AES_ige_encrypt() local
132 outp->data[n] ^= ivp->data[n]; in AES_ige_encrypt()
133 ivp = inp; in AES_ige_encrypt()
139 memcpy(ivec, ivp->data, AES_BLOCK_SIZE); in AES_ige_encrypt()
/openssl/test/
H A Dchacha_internal_test.c25 static const unsigned int ivp[] = { variable
168 ChaCha20_ctr32(buf, buf, i, key, ivp); in test_cha_cha_internal()
/openssl/crypto/sm4/asm/
H A Dvpsm4-armv8.pl858 ld1 {$ivec0.4s},[$ivp]
906 st1 {$ivec0.4s},[$ivp]
938 ld1 {$ivec1.4s},[$ivp]
959 ld1 {$ivec1.4s},[$ivp]
984 st1 {@data[3].4s}, [$ivp]
992 st1 {$data[0].4s}, [$ivp]
1021 st1 {@data[1].4s}, [$ivp]
1041 st1 {@data[2].4s}, [$ivp]
1055 my ($ivp)=("x4");
1065 ld1 {$ivec.4s},[$ivp]
[all …]
H A Dvpsm4_ex-armv8.pl848 ld1 {$ivec0.4s},[$ivp]
896 st1 {$ivec0.4s},[$ivp]
928 ld1 {$ivec1.4s},[$ivp]
949 ld1 {$ivec1.4s},[$ivp]
974 st1 {@data[3].4s}, [$ivp]
982 st1 {$data[0].4s}, [$ivp]
1011 st1 {@data[1].4s}, [$ivp]
1031 st1 {@data[2].4s}, [$ivp]
1045 my ($ivp)=("x4");
1055 ld1 {$ivec.4s},[$ivp]
[all …]
H A Dsm4-armv8.pl336 my ($inp,$out,$len,$rk,$ivp)=map("x$_",(0..4));
351 ld1 {$ivec.4s},[$ivp]
481 st1 {$ivec.16b},[$ivp]
489 my ($inp,$out,$len,$rk,$ivp)=map("x$_",(0..4));
502 ld1 {$ivec.4s},[$ivp]
/openssl/crypto/modes/asm/
H A Daesni-gcm-x86_64.pl80 ($inp,$out,$len,$key,$ivp,$Xip)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9");
119 vmovdqu $T1,($ivp) # save next counter value
359 vmovdqu ($ivp),$T1 # load next counter value
453 vmovdqu ($ivp),$T1 # input counter value
455 mov 12($ivp),$counter
681 vmovdqu ($ivp),$T1 # input counter value
683 mov 12($ivp),$counter

Completed in 118 milliseconds