VirtualBox

忽略:
時間撮記:
2022-3-3 下午07:17:34 (3 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
150325
訊息:

libs/openssl-3.0.1: started applying and adjusting our OpenSSL changes to 3.0.1. bugref:10128

位置:
trunk/src/libs/openssl-3.0.1
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/libs/openssl-3.0.1

    • 屬性 svn:mergeinfo
      •  

        old new  
        1212/vendor/openssl/1.1.1c:131722-131725
        1313/vendor/openssl/1.1.1k:145841-145843
         14/vendor/openssl/3.0.1:150323-150324
         15/vendor/openssl/current:147554-150322
  • trunk/src/libs/openssl-3.0.1/include/crypto/bn.h

    r91772 r94082  
    11/*
    2  * Copyright 2014-2018 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 2014-2021 The OpenSSL Project Authors. All Rights Reserved.
    33 *
    4  * Licensed under the OpenSSL license (the "License").  You may not use
     4 * Licensed under the Apache License 2.0 (the "License").  You may not use
    55 * this file except in compliance with the License.  You can obtain a copy
    66 * in the file LICENSE in the source distribution or at
     
    1010#ifndef OSSL_CRYPTO_BN_H
    1111# define OSSL_CRYPTO_BN_H
     12# pragma once
    1213
    1314# include <openssl/bn.h>
     
    8889                     const BIGNUM *d, BN_CTX *ctx);
    8990
     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
     96int ossl_bn_miller_rabin_is_prime(const BIGNUM *w, int iterations, BN_CTX *ctx,
     97                                  BN_GENCB *cb, int enhanced, int *status);
     98
     99const BIGNUM *ossl_bn_get0_small_factors(void);
     100
     101int 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
     108int 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
     113OSSL_LIB_CTX *ossl_bn_get_libctx(BN_CTX *ctx);
     114
     115extern const BIGNUM ossl_bn_inv_sqrt_2;
     116
    90117#endif
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette