/openssl/providers/implementations/kem/ |
H A D | ec_kem.c | 70 BIGNUM *rem = NULL; in eckey_check() local 87 rem = BN_new(); in eckey_check() 89 if (order != NULL && rem != NULL && bnctx != NULL) { in eckey_check() 90 rv = BN_mod(rem, priv, order, bnctx) in eckey_check() 91 && !BN_is_zero(rem); in eckey_check() 94 BN_free(rem); in eckey_check()
|
/openssl/doc/man3/ |
H A D | BN_add.pod | 21 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *a, const BIGNUM *d, 24 int BN_mod(BIGNUM *rem, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx); 65 remainder in I<rem> (C<dv=a/d, rem=a%d>). Either of I<dv> and I<rem> may
|
H A D | BN_generate_prime.pod | 15 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb, 19 const BIGNUM *rem, BN_GENCB *cb); 42 BIGNUM *rem, void (*callback)(int, int, void *), 107 == B<rem> (p % B<add> == 1 if B<rem> == B<NULL>) in order to suit a given 111 that (p-1)/2 is also prime). If B<safe> is true, and B<rem> == B<NULL>
|
H A D | BN_mod_mul_reciprocal.pod | 18 int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *a, BN_RECP_CTX *recp, 44 in B<dv> and the remainder in B<rem>.
|
/openssl/crypto/evp/ |
H A D | e_aes.c | 1077 int rem; in s390x_aes_ofb_cipher() local 1098 if (rem) { in s390x_aes_ofb_cipher() 1149 int rem; in s390x_aes_cfb_cipher() local 1181 if (rem) { in s390x_aes_cfb_cipher() 1263 int n, rem; in s390x_aes_gcm_aad() local 1298 if (rem) { in s390x_aes_gcm_aad() 1302 --rem; in s390x_aes_gcm_aad() 1303 ctx->ares[rem] = aad[rem]; in s390x_aes_gcm_aad() 1378 if (rem) { in s390x_aes_gcm() 1806 int i, rem; in s390x_aes_ccm_aad() local [all …]
|
/openssl/include/openssl/ |
H A D | bn.h | 275 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d, 277 # define BN_mod(rem,m,d,ctx) BN_div(NULL,(rem),(m),(d),(ctx)) argument 365 const BIGNUM *add, const BIGNUM *rem, 387 const BIGNUM *add, const BIGNUM *rem, BN_GENCB *cb, 390 const BIGNUM *rem, BN_GENCB *cb); 464 int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
|
/openssl/crypto/modes/ |
H A D | gcm128.c | 171 size_t rem, nlo, nhi; in gcm_gmult_4bit() local 182 rem = (size_t)Z.lo & 0xf; in gcm_gmult_4bit() 186 Z.hi ^= rem_4bit[rem]; in gcm_gmult_4bit() 188 Z.hi ^= (u64)rem_4bit[rem] << 32; in gcm_gmult_4bit() 200 rem = (size_t)Z.lo & 0xf; in gcm_gmult_4bit() 204 Z.hi ^= rem_4bit[rem]; in gcm_gmult_4bit() 250 size_t rem, nlo, nhi; in gcm_ghash_4bit() local 264 rem = (size_t)Z.lo & 0xf; in gcm_ghash_4bit() 268 Z.hi ^= rem_4bit[rem]; in gcm_ghash_4bit() 283 rem = (size_t)Z.lo & 0xf; in gcm_ghash_4bit() [all …]
|
/openssl/Configurations/ |
H A D | windows-makefile.tmpl | 440 @{- output_off() if $disabled{makedepend}; "\@rem" -} 444 @{- output_on() if $disabled{makedepend}; "\@rem" -} 452 @{- output_off() if $disabled{tests}; "\@rem" -} 456 @{- output_on() if !$disabled{tests}; "\@rem" -} 459 @{- output_off() if $disabled{tests}; "\@rem" -} 463 @{- output_on() if !$disabled{tests}; "\@rem" -} 478 {- join("\n\t", map { "-del /Q /F $_" } @PROGRAMS) || "\@rem" -} 479 {- join("\n\t", map { "-del /Q /F $_" } @MODULES) || "\@rem" -} 480 {- join("\n\t", map { "-del /Q /F $_" } @SCRIPTS) || "\@rem" -} 495 @ {- output_off() if $disabled{makedepend}; "\@rem" -} [all …]
|
/openssl/apps/ |
H A D | s_client.c | 116 static int ldap_ExtendedResponse_parse(const char *buf, long rem); 3649 end = cur + rem; in ldap_ExtendedResponse_parse() 3679 inf = ASN1_get_object(&cur, &len, &tag, &xclass, rem); in ldap_ExtendedResponse_parse() 3681 (rem = end - cur, len > rem)) { in ldap_ExtendedResponse_parse() 3689 inf = ASN1_get_object(&cur, &len, &tag, &xclass, rem); in ldap_ExtendedResponse_parse() 3691 (rem = end - cur, len > rem)) { in ldap_ExtendedResponse_parse() 3699 rem = end - cur; in ldap_ExtendedResponse_parse() 3700 inf = ASN1_get_object(&cur, &len, &tag, &xclass, rem); in ldap_ExtendedResponse_parse() 3708 rem = end - cur; in ldap_ExtendedResponse_parse() 3709 inf = ASN1_get_object(&cur, &len, &tag, &xclass, rem); in ldap_ExtendedResponse_parse() [all …]
|
/openssl/crypto/bn/ |
H A D | rsaz_exp_x2.c | 406 const int rem = modulus_bitsize % exp_win_size; 409 int exp_bit_no = modulus_bitsize - rem; 423 OPENSSL_assert(rem != 0);
|
/openssl/include/crypto/ |
H A D | bn.h | 88 int bn_div_fixed_top(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m,
|
/openssl/ |
H A D | CHANGES.md | 15477 such that `|m| < r < 0`, `BN_nnmod` will output `rem + |m|` instead). 15956 code did not properly initialise the 'add' and 'rem' values to 17883 equal (it gave wrong results if `(rem=(n1-q*d0)&BN_MASK2) < d0)`.
|