| /crypto/ml_dsa/ |
| A D | ml_dsa_ntt.c | 133 int offset = ML_DSA_NUM_POLY_COEFFICIENTS; in ossl_ml_dsa_poly_ntt() local 138 offset >>= 1; /* Offset: 128, 64, 32, 16, ..., 1 */ in ossl_ml_dsa_poly_ntt() 142 for (j = k; j < k + offset; j++) { in ossl_ml_dsa_poly_ntt() 149 p->coeff[j + offset] = mod_sub(w_even, t_odd); in ossl_ml_dsa_poly_ntt() 151 k += 2 * offset; in ossl_ml_dsa_poly_ntt() 169 int i, j, k, offset, step = ML_DSA_NUM_POLY_COEFFICIENTS; in ossl_ml_dsa_poly_ntt_inverse() local 176 for (offset = 1; offset < ML_DSA_NUM_POLY_COEFFICIENTS; offset <<= 1) { in ossl_ml_dsa_poly_ntt_inverse() 183 for (j = k; j < k + offset; j++) { in ossl_ml_dsa_poly_ntt_inverse() 185 uint32_t odd = p->coeff[j + offset]; in ossl_ml_dsa_poly_ntt_inverse() 188 p->coeff[j + offset] = in ossl_ml_dsa_poly_ntt_inverse() [all …]
|
| A D | ml_dsa_sample.c | 312 int offset = 8; in ossl_ml_dsa_poly_sample_in_ball() local 336 if (offset == sizeof(block)) { in ossl_ml_dsa_poly_sample_in_ball() 340 offset = 0; in ossl_ml_dsa_poly_sample_in_ball() 343 index = block[offset++]; in ossl_ml_dsa_poly_sample_in_ball()
|
| /crypto/aes/asm/ |
| A D | aesni-mb-x86_64.pl | 216 xor $offset,$offset 221 add \$16,$offset 224 sub $offset,$sink 494 xor $offset,$offset 499 add \$16,$offset 502 sub $offset,$sink 795 mov 64+8*$i(%rsp),$offset 807 lea (@ptr[$i],$offset),$offset 812 sub @ptr[$i],$offset 1116 lea (@ptr[$i],$offset),$offset [all …]
|
| A D | aesni-x86_64.pl | 2923 movdqa @offset[4],@offset[5] 2949 movdqa @offset[1],@offset[5] 2961 movdqa @offset[2],@offset[5] 2972 movdqa @offset[3],@offset[5] 3055 pxor @offset[5],@offset[0] 3057 pxor @offset[0],@offset[1] 3060 pxor @offset[1],@offset[2] 3063 pxor @offset[2],@offset[3] 3066 pxor @offset[3],@offset[4] 3069 pxor @offset[4],@offset[5] [all …]
|
| A D | aesni-xts-avx512.pl | 466 my $offset = $i * 16; 467 $code .= "mov $TEMPLOW, $offset($TW)\n"; 468 $code .= "mov $TEMPHIGH, $offset + 8($TW)\n"; 469 $code .= "vmovdqa $offset($TW), $tw[$i]\n"; 470 $code .= "vmovdqu $offset($input), $st[$i]\n";
|
| /crypto/bio/ |
| A D | bss_bio.c | 172 peer_b->offset += chunk; in bio_read() 175 peer_b->offset = 0; in bio_read() 180 peer_b->offset = 0; in bio_read() 258 peer_b->offset += num; in bio_nread() 261 peer_b->offset = 0; in bio_nread() 263 peer_b->offset = 0; in bio_nread() 530 b->offset = 0; in bio_ctrl() 630 b1->offset = 0; in bio_make_pair() 638 b2->offset = 0; in bio_make_pair() 671 peer_b->offset = 0; in bio_destroy_pair() [all …]
|
| A D | bss_dgram_pair.c | 141 size_t offset = nbytes - r->len; in ring_buf_resize() local 143 memmove(new_start + r->idx[1] + offset, new_start + r->idx[1], in ring_buf_resize() 145 r->idx[1] += offset; in ring_buf_resize()
|
| /crypto/txt_db/ |
| A D | txt_db.c | 26 int offset = 0; in TXT_DB_read() local 54 offset = 0; in TXT_DB_read() 56 if (offset != 0) { in TXT_DB_read() 61 buf->data[offset] = '\0'; in TXT_DB_read() 62 BIO_gets(in, &(buf->data[offset]), size - offset); in TXT_DB_read() 63 if (buf->data[offset] == '\0') in TXT_DB_read() 65 if ((offset == 0) && (buf->data[0] == '#')) in TXT_DB_read() 67 i = (int)strlen(&(buf->data[offset])); in TXT_DB_read() 68 offset += i; in TXT_DB_read() 69 if (buf->data[offset - 1] != '\n') in TXT_DB_read() [all …]
|
| /crypto/modes/ |
| A D | ocb128.c | 254 ctx->sess.offset.c[15] |= in CRYPTO_ocb128_setiv() 365 ocb_block16_xor(&ctx->sess.offset, lookup, &ctx->sess.offset); in CRYPTO_ocb128_encrypt() 374 ocb_block16_xor(&ctx->sess.offset, &tmp, &tmp); in CRYPTO_ocb128_encrypt() 376 ocb_block16_xor(&ctx->sess.offset, &tmp, &tmp); in CRYPTO_ocb128_encrypt() 393 ocb_block16_xor(&ctx->sess.offset, &ctx->l_star, &ctx->sess.offset); in CRYPTO_ocb128_encrypt() 396 ctx->encrypt(ctx->sess.offset.c, pad.c, ctx->keyenc); in CRYPTO_ocb128_encrypt() 457 ocb_block16_xor(&ctx->sess.offset, lookup, &ctx->sess.offset); in CRYPTO_ocb128_decrypt() 463 ocb_block16_xor(&ctx->sess.offset, &tmp, &tmp); in CRYPTO_ocb128_decrypt() 465 ocb_block16_xor(&ctx->sess.offset, &tmp, &tmp); in CRYPTO_ocb128_decrypt() 485 ocb_block16_xor(&ctx->sess.offset, &ctx->l_star, &ctx->sess.offset); in CRYPTO_ocb128_decrypt() [all …]
|
| /crypto/dso/ |
| A D | dso_win32.c | 301 int len = 0, offset = 0; in win32_joiner() local 337 offset += 2; in win32_joiner() 341 result[offset] = '\\'; in win32_joiner() 342 offset++; in win32_joiner() 347 result[offset] = ':'; in win32_joiner() 348 offset++; in win32_joiner() 360 result[offset] = '\\'; in win32_joiner() 361 offset++; in win32_joiner() 373 result[offset] = '\\'; in win32_joiner() 374 offset++; in win32_joiner() [all …]
|
| /crypto/err/ |
| A D | err_prn.c | 31 int offset; in ERR_print_errors_cb() local 38 offset = (int)strlen(buf); in ERR_print_errors_cb() 39 ossl_err_string_int(l, func, buf + offset, sizeof(buf) - offset); in ERR_print_errors_cb() 40 offset += (int)strlen(buf + offset); in ERR_print_errors_cb() 41 BIO_snprintf(buf + offset, sizeof(buf) - offset, ":%s:%d:%s\n", in ERR_print_errors_cb()
|
| /crypto/asn1/ |
| A D | asn1_parse.c | 21 int offset, int depth, int indent, int dump); 22 static int asn1_print_info(BIO *bp, long offset, int depth, int hl, long len, in asn1_print_info() argument 38 offset, depth, (long)hl, len, p) <= 0) in asn1_print_info() 42 offset, depth, (long)hl, p) <= 0) in asn1_print_info() 95 int offset, int depth, int indent, int dump) in asn1_parse2() argument 128 if (!asn1_print_info(bp, (long)offset + (long)(op - *pp), depth, in asn1_parse2() 144 offset + (int)(p - *pp), depth + 1, in asn1_parse2() 159 offset + (int)(p - *pp), depth + 1, in asn1_parse2()
|
| A D | tasn_utl.c | 23 #define offset2ptr(addr, offset) (void *)(((char *) addr) + offset) argument 205 ASN1_VALUE **pvaltmp = offset2ptr(*pval, tt->offset); in ossl_asn1_get_field_ptr() 218 return offset2ptr(*pval, tt->offset); in ossl_asn1_get_const_field_ptr() 243 sfld = offset2ptr(val, adb->offset); in ossl_asn1_do_adb()
|
| A D | a_time.c | 218 int offset = 0; in ossl_asn1_time_to_tm() local 243 offset = n * 3600; in ossl_asn1_time_to_tm() 245 offset += n * 60; in ossl_asn1_time_to_tm() 249 if (offset && !OPENSSL_gmtime_adj(&tmp, 0, offset * offsign)) in ossl_asn1_time_to_tm()
|
| /crypto/bn/ |
| A D | bn_ctx.c | 353 unsigned int offset = (p->used - 1) % BN_CTX_POOL_SIZE; in BN_POOL_release() local 357 bn_check_top(p->current->vals + offset); in BN_POOL_release() 358 if (offset == 0) { in BN_POOL_release() 359 offset = BN_CTX_POOL_SIZE - 1; in BN_POOL_release() 362 offset--; in BN_POOL_release()
|
| /crypto/sm3/asm/ |
| A D | sm3-riscv64-zbb.pl | 72 my ($rd, $index, $offset) = @_; 73 my $masked = (($index-$offset)& 0x0F); 75 return "lw $rd, (($index-$offset)&0x0F)*4($ADDR)"; 82 my ($rs, $index, $offset) = @_; 83 my $masked = (($index-$offset)& 0x0F); 85 return "sw $rs, (($index-$offset)&0x0F)*4($ADDR)";
|
| /crypto/sha/ |
| A D | keccak1600.c | 54 #define ROL32(a, offset) (((a) << (offset)) | ((a) >> ((32 - (offset)) & 31))) argument 56 static uint64_t ROL64(uint64_t val, int offset) in ROL64() argument 58 if (offset == 0) { in ROL64() 61 return (val << offset) | (val >> (64-offset)); in ROL64() 65 if (offset & 1) { in ROL64() 68 offset >>= 1; in ROL64() 69 hi = ROL32(lo, offset); in ROL64() 70 lo = ROL32(tmp, offset + 1); in ROL64() 72 offset >>= 1; in ROL64() 73 lo = ROL32(lo, offset); in ROL64() [all …]
|
| /crypto/ec/asm/ |
| A D | ecp_nistp521-ppc64.pl | 115 my $offset = $i * 8; 117 lxsd $reg_list->[$i],$offset($pointer) 131 my $offset = $i * 16; 133 stxv $reg_list->[$i],$offset($pointer)
|
| /crypto/chacha/asm/ |
| A D | chacha-armv8-sve.pl | 246 my $offset = shift; 248 my $next_offset = $offset + 1; 250 ld1w {$reg.s},p0/z,[$inp,#$offset,MUL VL] 268 my $offset = shift; 270 my $next_offset = $offset + 1; 272 st1w {$reg.s},p0,[$outp,#$offset,MUL VL]
|
| /crypto/cmp/ |
| A D | cmp_genm.c | 118 size_t offset = strlen(name); in get_genm_itav() local 127 if (OBJ_obj2txt(name + offset, (int)(sizeof(name) - offset), obj, 0) < 0) in get_genm_itav()
|
| /crypto/ml_kem/ |
| A D | ml_kem.c | 521 int offset = DEGREE / 2; in scalar_ntt() local 527 uint16_t *pause = curr + offset, even, odd; in scalar_ntt() 538 } while ((offset >>= 1) >= 2); in scalar_ntt() 553 int offset = 2; in scalar_inverse_ntt() local 559 uint16_t *pause = curr + offset, even, odd; in scalar_inverse_ntt() 570 } while ((offset <<= 1) < DEGREE); in scalar_inverse_ntt()
|
| /crypto/x509/ |
| A D | v3_ncons.c | 95 #define IA5_OFFSET_LEN(ia5base, offset) \ argument 96 ((ia5base)->length - ((unsigned char *)(offset) - (ia5base)->data))
|
| /crypto/modes/asm/ |
| A D | aes-gcm-avx512.pl | 277 my ($base, $offset, $displacement) = @_; 280 if ($offset =~ /^\d+\z/) { # numerical offset 281 return "`$offset + $displacement`($base)"; 283 return "$displacement($base,$offset,1)"; 292 my $offset = &HashKeyOffsetByIdx($idx, $base_str); 293 return "$offset($base)";
|
| /crypto/evp/ |
| A D | e_aes.c | 3019 static int aes_gcm_iv_generate(EVP_AES_GCM_CTX *gctx, int offset) in aes_gcm_iv_generate() argument 3021 int sz = gctx->ivlen - offset; in aes_gcm_iv_generate() 3028 if (RAND_bytes(gctx->iv + offset, sz) <= 0) in aes_gcm_iv_generate()
|
| /crypto/des/asm/ |
| A D | des_enc.m4 | 1814 .word 0x0f0f0f0f ! offset 256
|