- 時間撮記:
- 2022-3-3 下午07:17:34 (3 年 以前)
- svn:sync-xref-src-repo-rev:
- 150325
- 位置:
- trunk/src/libs/openssl-3.0.1
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/libs/openssl-3.0.1
- 屬性 svn:mergeinfo
-
old new 12 12 /vendor/openssl/1.1.1c:131722-131725 13 13 /vendor/openssl/1.1.1k:145841-145843 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322
-
- 屬性 svn:mergeinfo
-
trunk/src/libs/openssl-3.0.1/include/crypto/bn.h
r91772 r94082 1 1 /* 2 * Copyright 2014-20 18The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2014-2021 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 * Licensed under the OpenSSL license(the "License"). You may not use4 * Licensed under the Apache License 2.0 (the "License"). You may not use 5 5 * this file except in compliance with the License. You can obtain a copy 6 6 * in the file LICENSE in the source distribution or at … … 10 10 #ifndef OSSL_CRYPTO_BN_H 11 11 # define OSSL_CRYPTO_BN_H 12 # pragma once 12 13 13 14 # include <openssl/bn.h> … … 88 89 const BIGNUM *d, BN_CTX *ctx); 89 90 91 #define BN_PRIMETEST_COMPOSITE 0 92 #define BN_PRIMETEST_COMPOSITE_WITH_FACTOR 1 93 #define BN_PRIMETEST_COMPOSITE_NOT_POWER_OF_PRIME 2 94 #define BN_PRIMETEST_PROBABLY_PRIME 3 95 96 int ossl_bn_miller_rabin_is_prime(const BIGNUM *w, int iterations, BN_CTX *ctx, 97 BN_GENCB *cb, int enhanced, int *status); 98 99 const BIGNUM *ossl_bn_get0_small_factors(void); 100 101 int ossl_bn_rsa_fips186_4_gen_prob_primes(BIGNUM *p, BIGNUM *Xpout, 102 BIGNUM *p1, BIGNUM *p2, 103 const BIGNUM *Xp, const BIGNUM *Xp1, 104 const BIGNUM *Xp2, int nlen, 105 const BIGNUM *e, BN_CTX *ctx, 106 BN_GENCB *cb); 107 108 int ossl_bn_rsa_fips186_4_derive_prime(BIGNUM *Y, BIGNUM *X, const BIGNUM *Xin, 109 const BIGNUM *r1, const BIGNUM *r2, 110 int nlen, const BIGNUM *e, BN_CTX *ctx, 111 BN_GENCB *cb); 112 113 OSSL_LIB_CTX *ossl_bn_get_libctx(BN_CTX *ctx); 114 115 extern const BIGNUM ossl_bn_inv_sqrt_2; 116 90 117 #endif
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器