Home
last modified time | relevance | path

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

12

/third_party/node/deps/openssl/openssl/engines/
De_padlock.c341 unsigned char *ivp = EVP_CIPHER_CTX_iv_noconst(ctx); in padlock_cfb_cipher() local
348 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; in padlock_cfb_cipher()
353 *(out_arg++) = c ^ ivp[chunk]; in padlock_cfb_cipher()
354 ivp[chunk++] = c, nbytes--; 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()
[all …]
/third_party/openssl/engines/
De_padlock.c341 unsigned char *ivp = EVP_CIPHER_CTX_iv_noconst(ctx); in padlock_cfb_cipher() local
348 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; in padlock_cfb_cipher()
353 *(out_arg++) = c ^ ivp[chunk]; in padlock_cfb_cipher()
354 ivp[chunk++] = c, nbytes--; 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()
[all …]
/third_party/node/deps/openssl/openssl/crypto/aes/asm/
Daesfx-sparcv9.pl392 my ($inp,$out,$len,$key,$ivp,$dir) = map("%i$_",(0..5));
414 ld [$ivp + 0], %f0 ! load ivec
416 ld [$ivp + 4], %f1
418 ld [$ivp + 8], %f2
419 ld [$ivp + 12], %f3
517 st %f0, [$ivp + 0] ! output ivec
518 st %f1, [$ivp + 4]
519 st %f2, [$ivp + 8]
520 st %f3, [$ivp + 12]
642 st %f0, [$ivp + 0] ! output ivec
[all …]
Daes-s390x.pl1189 my $ivp="%r6";
1205 lg %r0,0($ivp) # copy ivec
1206 lg %r1,8($ivp)
1224 stg %r0,0($ivp)
1225 stg %r1,8($ivp)
1265 llgf $s0,0($ivp)
1266 llgf $s1,4($ivp)
1267 llgf $s2,8($ivp)
1268 llgf $s3,12($ivp)
1299 l${g} $ivp,6*$SIZE_T($sp)
[all …]
Daesni-sha1-x86_64.pl161 my ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10");
237 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
764 ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10");
903 movdqu ($ivp),@X[3] # load IV
904 #mov $ivp,88(%rsp) # save $ivp
1015 movups @X[3],($ivp) # write IV
[all …]
Daesni-sha256-x86_64.pl105 ($inp, $out, $len, $key, $ivp, $ctx, $in0) =
378 mov $ivp,$_ivp
406 vmovdqu ($ivp),$iv # load IV
618 mov $_ivp,$ivp
621 vmovdqu $iv,($ivp) # output IV
694 mov $ivp,$_ivp
722 vmovdqu ($ivp),$iv # load IV
887 mov $_ivp,$ivp
890 vmovdqu $iv,($ivp) # output IV
1009 mov $ivp,$_ivp
[all …]
Daesp8-ppc.pl507 my ($inp,$out,$len,$key,$ivp,$enc,$rounds,$idx)=map("r$_",(3..10));
527 lvx $ivec,0,$ivp # load [unaligned] iv
528 lvsl $inpperm,0,$ivp
529 lvx $inptail,$idx,$ivp
651 neg $enc,$ivp # write [unaligned] iv
659 lvx $outhead,0,$ivp
662 lvx $inptail,$idx,$ivp
663 stvx $inout,0,$ivp
665 stvx $inout,$idx,$ivp
1204 stvx_u $ivec,0,$ivp # write [unaligned] iv
[all …]
Daesv8-armx.pl1223 my ($inp,$out,$len,$key,$ivp)=map("x$_",(0..4)); my $enc="w5";
1257 vld1.8 {$ivec},[$ivp]
1728 vst1.8 {$ivec},[$ivp]
1745 my ($inp,$out,$len,$key,$ivp)=map("x$_",(0..4));
1779 ldr $ctr, [$ivp, #12]
1781 vld1.8 {$dat0},[$ivp]
1783 vld1.32 {$dat0},[$ivp]
2225 my ($inp,$out,$len,$key1,$key2,$ivp)=map("x$_",(0..5));
2265 vld1.8 {$iv0},[$ivp]
2352 vld1.8 {$iv0},[$ivp]
[all …]
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
1776 my ($key2,$ivp,$len_)=("%r8","%r9","%r9");
1808 movups ($ivp),$inout0 # load clear-text tweak
2292 movups ($ivp),$inout0 # load clear-text tweak
[all …]
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
/third_party/openssl/crypto/aes/asm/
Daesfx-sparcv9.pl392 my ($inp,$out,$len,$key,$ivp,$dir) = map("%i$_",(0..5));
414 ld [$ivp + 0], %f0 ! load ivec
416 ld [$ivp + 4], %f1
418 ld [$ivp + 8], %f2
419 ld [$ivp + 12], %f3
517 st %f0, [$ivp + 0] ! output ivec
518 st %f1, [$ivp + 4]
519 st %f2, [$ivp + 8]
520 st %f3, [$ivp + 12]
642 st %f0, [$ivp + 0] ! output ivec
[all …]
Daes-s390x.pl1189 my $ivp="%r6";
1205 lg %r0,0($ivp) # copy ivec
1206 lg %r1,8($ivp)
1224 stg %r0,0($ivp)
1225 stg %r1,8($ivp)
1265 llgf $s0,0($ivp)
1266 llgf $s1,4($ivp)
1267 llgf $s2,8($ivp)
1268 llgf $s3,12($ivp)
1299 l${g} $ivp,6*$SIZE_T($sp)
[all …]
Daesni-sha1-x86_64.pl161 my ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10");
237 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
764 ($in0,$out,$len,$key,$ivp,$ctx,$inp)=("%rdi","%rsi","%rdx","%rcx","%r8","%r9","%r10");
903 movdqu ($ivp),@X[3] # load IV
904 #mov $ivp,88(%rsp) # save $ivp
1015 movups @X[3],($ivp) # write IV
[all …]
Daesni-sha256-x86_64.pl105 ($inp, $out, $len, $key, $ivp, $ctx, $in0) =
378 mov $ivp,$_ivp
406 vmovdqu ($ivp),$iv # load IV
618 mov $_ivp,$ivp
621 vmovdqu $iv,($ivp) # output IV
694 mov $ivp,$_ivp
722 vmovdqu ($ivp),$iv # load IV
887 mov $_ivp,$ivp
890 vmovdqu $iv,($ivp) # output IV
1009 mov $ivp,$_ivp
[all …]
Daesp8-ppc.pl507 my ($inp,$out,$len,$key,$ivp,$enc,$rounds,$idx)=map("r$_",(3..10));
527 lvx $ivec,0,$ivp # load [unaligned] iv
528 lvsl $inpperm,0,$ivp
529 lvx $inptail,$idx,$ivp
651 neg $enc,$ivp # write [unaligned] iv
659 lvx $outhead,0,$ivp
662 lvx $inptail,$idx,$ivp
663 stvx $inout,0,$ivp
665 stvx $inout,$idx,$ivp
1204 stvx_u $ivec,0,$ivp # write [unaligned] iv
[all …]
Daesv8-armx.pl1223 my ($inp,$out,$len,$key,$ivp)=map("x$_",(0..4)); my $enc="w5";
1257 vld1.8 {$ivec},[$ivp]
1728 vst1.8 {$ivec},[$ivp]
1745 my ($inp,$out,$len,$key,$ivp)=map("x$_",(0..4));
1779 ldr $ctr, [$ivp, #12]
1781 vld1.8 {$dat0},[$ivp]
1783 vld1.32 {$dat0},[$ivp]
2225 my ($inp,$out,$len,$key1,$key2,$ivp)=map("x$_",(0..5));
2265 vld1.8 {$iv0},[$ivp]
2352 vld1.8 {$iv0},[$ivp]
[all …]
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
1776 my ($key2,$ivp,$len_)=("%r8","%r9","%r9");
1808 movups ($ivp),$inout0 # load clear-text tweak
2292 movups ($ivp),$inout0 # load clear-text tweak
[all …]
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
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
/third_party/openssl/crypto/aes/
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()
/third_party/node/deps/openssl/openssl/crypto/aes/
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()
/third_party/openssl/test/
Dchacha_internal_test.c25 static const unsigned int ivp[] = { variable
168 ChaCha20_ctr32(buf, buf, i, key, ivp); in test_cha_cha_internal()
/third_party/node/deps/openssl/openssl/crypto/modes/asm/
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
/third_party/openssl/crypto/modes/asm/
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
/third_party/gstreamer/gstplugins_bad/ext/hls/
Dm3u8.c830 gchar *ivp = v; in gst_m3u8_update() local
833 if (strlen (ivp) < 32 + 2 || (!g_str_has_prefix (ivp, "0x") in gst_m3u8_update()
834 && !g_str_has_prefix (ivp, "0X"))) { in gst_m3u8_update()
839 ivp += 2; in gst_m3u8_update()
843 h = g_ascii_xdigit_value (*ivp); in gst_m3u8_update()
844 ivp++; in gst_m3u8_update()
845 l = g_ascii_xdigit_value (*ivp); in gst_m3u8_update()
846 ivp++; in gst_m3u8_update()

12