| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/aes/asm/ |
| H A D | aes-armv4.pl | 72 $rounds="r12"; 214 mov $rounds,r0 @ inp 217 ldrb $s0,[$rounds,#3] @ load input data in endian-neutral 218 ldrb $t1,[$rounds,#2] @ manner... 219 ldrb $t2,[$rounds,#1] 220 ldrb $t3,[$rounds,#0] 222 ldrb $s1,[$rounds,#7] 224 ldrb $t1,[$rounds,#6] 226 ldrb $t2,[$rounds,#5] 227 ldrb $t3,[$rounds,#4] [all …]
|
| H A D | aesv8-armx.pl | 104 my ($inp,$bits,$out,$ptr,$rounds)=("x0","w1","x2","x3","w12"); 201 mov $rounds,#10 240 mov $rounds,#12 248 mov $rounds,#14 283 str $rounds,[$out] 354 my $rounds="w3"; 362 ldr $rounds,[$key,#240] 365 sub $rounds,$rounds,#2 372 subs $rounds,$rounds,#2 419 my ($enc,$rounds,$cnt,$key_,$step)=("w4","w5","w6","x7","x8"); [all …]
|
| H A D | aesni-x86.pl | 90 $rounds="ecx"; 137 &dec ($rounds); 153 &cmp ($rounds,11); 196 &mov ($rounds,&DWP(240,$key)); 215 &mov ($rounds,&DWP(240,$key)); 248 &shl ($rounds,4); 253 &lea ($key,&DWP(32,$key,$rounds)); 254 &neg ($rounds); 255 &add ($rounds,16); 260 &$movekey ($rndkey1,&QWP(0,$key,$rounds)); [all …]
|
| H A D | aes-sparcv9.pl | 77 $rounds="%i7"; # aliases with return address, which is off-loaded to stack 205 ld [$key+240],$rounds 209 srl $rounds,1,$rounds 272 subcc $rounds,1,$rounds ! 275 add $tbl,2048,$rounds 449 ldub [$rounds+$acc0],$acc0 452 ldub [$rounds+$acc1],$acc1 455 ldub [$rounds+$acc2],$acc2 456 ldub [$rounds+$acc3],$acc3 459 ldub [$rounds+$acc4],$acc4 [all …]
|
| H A D | aes-parisc.pl | 73 $rounds="%r29"; 198 ldw 240($key),$rounds 202 _srm $rounds,1,$rounds 245 addib,= -1,$rounds,L\$enc_last 360 ldo 1024($tbl),$rounds 397 ldbx $acc0($rounds),$acc0 399 ldbx $acc1($rounds),$acc1 402 ldbx $acc2($rounds),$acc2 403 ldbx $acc3($rounds),$acc3 405 ldbx $acc4($rounds),$acc4 [all …]
|
| H A D | aesni-x86_64.pl | 218 $rounds="%eax"; # input to and changed by aesni_[en|de]cryptN !!! 245 my ($p,$key,$rounds,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout)); 263 dec $rounds 282 mov 240($key),$rounds # key->rounds 284 &aesni_generate1("enc",$key,$rounds); 301 mov 240($key),$rounds # key->rounds 303 &aesni_generate1("dec",$key,$rounds); 338 shl \$4,$rounds 343 lea 32($key,$rounds),$key 344 neg %rax # $rounds [all …]
|
| H A D | bsaes-armv7.pl | 74 my ($key,$rounds,$const)=("r4","r5","r6"); 782 sub $rounds,$rounds,#1 791 subs $rounds,$rounds,#1 883 sub $rounds,$rounds,#1 892 subs $rounds,$rounds,#1 923 my ($out,$inp,$rounds,$const)=("r12","r4","r5","r6"); 974 sub $rounds,$rounds,#1 1001 subs $rounds,$rounds,#1 1115 my ($inp,$out,$len,$key, $ivp,$fp,$rounds)=map("r$_",(0..3,8..10)); 1147 ldr $rounds, [$key, #240] @ get # of rounds [all …]
|
| H A D | aesfx-sparcv9.pl | 39 my ($inp,$out,$key,$rounds,$tmp,$mask) = map("%o$_",(0..5)); 59 ld [$key + 240], $rounds 83 sub $rounds, 4, $rounds 99 brnz,a $rounds, .Loop_enc 100 sub $rounds, 2, $rounds 149 ld [$key + 240], $rounds 173 sub $rounds, 4, $rounds 189 brnz,a $rounds, .Loop_dec 190 sub $rounds, 2, $rounds 393 my ($rounds,$inner,$end,$inc,$ialign,$oalign,$mask) = map("%l$_",(0..7)); [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/aes/asm/ |
| H A D | aes-armv4.pl | 70 $rounds="r12"; 211 mov $rounds,r0 @ inp 214 ldrb $s0,[$rounds,#3] @ load input data in endian-neutral 215 ldrb $t1,[$rounds,#2] @ manner... 216 ldrb $t2,[$rounds,#1] 217 ldrb $t3,[$rounds,#0] 219 ldrb $s1,[$rounds,#7] 221 ldrb $t1,[$rounds,#6] 223 ldrb $t2,[$rounds,#5] 224 ldrb $t3,[$rounds,#4] [all …]
|
| H A D | aesni-x86.pl | 92 $rounds="ecx"; 139 &dec ($rounds); 155 &cmp ($rounds,11); 198 &mov ($rounds,&DWP(240,$key)); 217 &mov ($rounds,&DWP(240,$key)); 250 &shl ($rounds,4); 255 &lea ($key,&DWP(32,$key,$rounds)); 256 &neg ($rounds); 257 &add ($rounds,16); 262 &$movekey ($rndkey1,&QWP(0,$key,$rounds)); [all …]
|
| H A D | aes-sparcv9.pl | 78 $rounds="%i7"; # aliases with return address, which is off-loaded to stack 203 ld [$key+240],$rounds 207 srl $rounds,1,$rounds 270 subcc $rounds,1,$rounds ! 273 add $tbl,2048,$rounds 447 ldub [$rounds+$acc0],$acc0 450 ldub [$rounds+$acc1],$acc1 453 ldub [$rounds+$acc2],$acc2 454 ldub [$rounds+$acc3],$acc3 457 ldub [$rounds+$acc4],$acc4 [all …]
|
| H A D | aes-parisc.pl | 70 $rounds="%r29"; 195 ldw 240($key),$rounds 199 _srm $rounds,1,$rounds 242 addib,= -1,$rounds,L\$enc_last 357 ldo 1024($tbl),$rounds 394 ldbx $acc0($rounds),$acc0 396 ldbx $acc1($rounds),$acc1 399 ldbx $acc2($rounds),$acc2 400 ldbx $acc3($rounds),$acc3 402 ldbx $acc4($rounds),$acc4 [all …]
|
| H A D | aesv8-armx.pl | 76 my ($inp,$bits,$out,$ptr,$rounds)=("x0","w1","x2","x3","w12"); 173 mov $rounds,#10 212 mov $rounds,#12 220 mov $rounds,#14 255 str $rounds,[$out] 326 my $rounds="w3"; 334 ldr $rounds,[$key,#240] 337 sub $rounds,$rounds,#2 344 subs $rounds,$rounds,#2 366 my ($rounds,$cnt,$key_,$step,$step1)=($enc,"w6","x7","x8","x12"); [all …]
|
| H A D | aesni-x86_64.pl | 216 $rounds="%eax"; # input to and changed by aesni_[en|de]cryptN !!! 243 my ($p,$key,$rounds,$inout,$ivec)=@_; $inout=$inout0 if (!defined($inout)); 261 dec $rounds 279 mov 240($key),$rounds # key->rounds 281 &aesni_generate1("enc",$key,$rounds); 297 mov 240($key),$rounds # key->rounds 299 &aesni_generate1("dec",$key,$rounds); 334 shl \$4,$rounds 339 lea 32($key,$rounds),$key 340 neg %rax # $rounds [all …]
|
| H A D | bsaes-armv7.pl | 72 my ($key,$rounds,$const)=("r4","r5","r6"); 779 sub $rounds,$rounds,#1 788 subs $rounds,$rounds,#1 880 sub $rounds,$rounds,#1 889 subs $rounds,$rounds,#1 920 my ($out,$inp,$rounds,$const)=("r12","r4","r5","r6"); 971 sub $rounds,$rounds,#1 998 subs $rounds,$rounds,#1 1112 my ($inp,$out,$len,$key, $ivp,$fp,$rounds)=map("r$_",(0..3,8..10)); 1144 ldr $rounds, [$key, #240] @ get # of rounds [all …]
|
| H A D | aesfx-sparcv9.pl | 40 my ($inp,$out,$key,$rounds,$tmp,$mask) = map("%o$_",(0..5)); 57 ld [$key + 240], $rounds 81 sub $rounds, 4, $rounds 97 brnz,a $rounds, .Loop_enc 98 sub $rounds, 2, $rounds 147 ld [$key + 240], $rounds 171 sub $rounds, 4, $rounds 187 brnz,a $rounds, .Loop_dec 188 sub $rounds, 2, $rounds 391 my ($rounds,$inner,$end,$inc,$ialign,$oalign,$mask) = map("%l$_",(0..7)); [all …]
|
| H A D | aesp8-ppc.pl | 83 my ($inp,$bits,$out,$ptr,$cnt,$rounds)=map("r$_",(3..8)); 226 li $rounds,10 300 li $rounds,12 308 li $rounds,14 362 stw $rounds,0($out) 384 slwi $cnt,$rounds,4 386 srwi $rounds,$rounds,1 388 mtctr $rounds 426 my ($inp,$out,$key,$rounds,$idx)=map("r$_",(3..7)); 432 lwz $rounds,240($key) [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/rc5/ |
| H A D | rc5_skey.c | 14 int rounds) in RC5_32_set_key() argument 19 if ((rounds != RC5_16_ROUNDS) && in RC5_32_set_key() 20 (rounds != RC5_12_ROUNDS) && (rounds != RC5_8_ROUNDS)) in RC5_32_set_key() 21 rounds = RC5_16_ROUNDS; in RC5_32_set_key() 23 key->rounds = rounds; in RC5_32_set_key() 41 t = (rounds + 1) * 2; in RC5_32_set_key()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/rc5/ |
| H A D | rc5_skey.c | 20 int rounds) in RC5_32_set_key() argument 28 if ((rounds != RC5_16_ROUNDS) && in RC5_32_set_key() 29 (rounds != RC5_12_ROUNDS) && (rounds != RC5_8_ROUNDS)) in RC5_32_set_key() 30 rounds = RC5_16_ROUNDS; in RC5_32_set_key() 32 key->rounds = rounds; in RC5_32_set_key() 50 t = (rounds + 1) * 2; in RC5_32_set_key()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/ |
| H A D | evpmac_siphash.txt | 14 # SIPHASH tests - default values: 2,4 rounds, 16-byte mac 129 # SIPHASH - default values: 2,4 rounds, explicit 8-byte mac 143 # SIPHASH - default values: 2,4 rounds, explicit 16-byte mac 151 # SIPHASH - default values: 2,4 rounds, explicit 16-byte mac (set as 0) 159 # SIPHASH - default values: 2,4 rounds, explicit 13-byte mac (invalid size) 166 # SIPHASH - default values: 2,4 rounds, explicit 13-byte mac (invalid size) 174 Title = SIPHASH - explicit rounds 178 Ctrl = c-rounds:2 179 Ctrl = d-rounds:4 185 Title = SIPHASH - non-default values: 4,8 rounds [all …]
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/doc/man3/ |
| H A D | EVP_rc5_32_12_16_cbc.pod | 35 variable key length cipher with an additional "number of rounds" parameter. By 36 default the key length is set to 128 bits and 12 rounds. Alternative key lengths 45 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_SET_RC5_ROUNDS, rounds, NULL) 47 Sets the number of rounds to B<rounds>. This must be one of RC5_8_ROUNDS, 50 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GET_RC5_ROUNDS, 0, &rounds) 52 Stores the number of rounds currently configured in B<*rounds> where B<*rounds>
|
| /netbsd-src/crypto/external/bsd/openssl/dist/doc/man3/ |
| H A D | EVP_rc5_32_12_16_cbc.pod | 35 variable key length cipher with an additional "number of rounds" parameter. By 36 default the key length is set to 128 bits and 12 rounds. Alternative key lengths 45 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_SET_RC5_ROUNDS, rounds, NULL) 47 Sets the number of rounds to B<rounds>. This must be one of RC5_8_ROUNDS, 50 =item EVP_CIPHER_CTX_ctrl(ctx, EVP_CTRL_GET_RC5_ROUNDS, 0, &rounds) 52 Stores the number of rounds currently configured in B<*rounds> where B<*rounds>
|
| /netbsd-src/crypto/external/bsd/openssl/dist/providers/implementations/ciphers/ |
| H A D | cipher_rc5.c | 90 unsigned int rounds; in rc5_set_ctx_params() local 92 if (!OSSL_PARAM_get_uint(p, &rounds)) { in rc5_set_ctx_params() 96 if (rounds != RC5_8_ROUNDS in rc5_set_ctx_params() 97 && rounds != RC5_12_ROUNDS in rc5_set_ctx_params() 98 && rounds != RC5_16_ROUNDS) { in rc5_set_ctx_params() 102 ctx->rounds = rounds; in rc5_set_ctx_params() 125 if (p != NULL && !OSSL_PARAM_set_uint(p, ctx->rounds)) { in OSSL_PARAM_uint() 152 ctx->rounds = RC5_12_ROUNDS; \
|
| /netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
| H A D | e_rc5.c | 26 int rounds; /* number of rounds */ member 41 data(c)->rounds = RC5_12_ROUNDS; in rc5_ctrl() 45 *(int *)ptr = data(c)->rounds; in rc5_ctrl() 53 data(c)->rounds = arg; in rc5_ctrl() 74 key, data(ctx)->rounds); in r_32_12_16_init_key()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/evp/ |
| H A D | e_rc5.c | 32 int rounds; /* number of rounds */ member 47 data(c)->rounds = RC5_12_ROUNDS; in rc5_ctrl() 51 *(int *)ptr = data(c)->rounds; in rc5_ctrl() 59 data(c)->rounds = arg; in rc5_ctrl() 81 return RC5_32_set_key(&data(ctx)->ks, key_len, key, data(ctx)->rounds); in r_32_12_16_init_key()
|