VirtualBox

Ignore:
Timestamp:
Mar 3, 2022 7:17:34 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
150325
Message:

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

Location:
trunk/src/libs/openssl-3.0.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/openssl-3.0.1

    • Property 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/openssl/cast.h

    r91772 r94082  
    11/*
    2  * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved.
     2 * Copyright 1995-2020 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
     
    88 */
    99
    10 #ifndef HEADER_CAST_H
    11 # define HEADER_CAST_H
     10#ifndef OPENSSL_CAST_H
     11# define OPENSSL_CAST_H
     12# pragma once
     13
     14# include <openssl/macros.h>
     15# ifndef OPENSSL_NO_DEPRECATED_3_0
     16#  define HEADER_CAST_H
     17# endif
    1218
    1319# include <openssl/opensslconf.h>
     
    1824# endif
    1925
    20 # define CAST_ENCRYPT    1
    21 # define CAST_DECRYPT    0
    22 
    23 # define CAST_LONG unsigned int
    24 
    2526# define CAST_BLOCK      8
    2627# define CAST_KEY_LENGTH 16
     28
     29# ifndef OPENSSL_NO_DEPRECATED_3_0
     30
     31#  define CAST_ENCRYPT    1
     32#  define CAST_DECRYPT    0
     33
     34#  define CAST_LONG unsigned int
    2735
    2836typedef struct cast_key_st {
     
    3139} CAST_KEY;
    3240
     41# endif /* OPENSSL_NO_DEPRECATED_3_0 */
     42# ifndef OPENSSL_NO_DEPRECATED_3_0
     43OSSL_DEPRECATEDIN_3_0
    3344void CAST_set_key(CAST_KEY *key, int len, const unsigned char *data);
     45OSSL_DEPRECATEDIN_3_0
    3446void CAST_ecb_encrypt(const unsigned char *in, unsigned char *out,
    3547                      const CAST_KEY *key, int enc);
     48OSSL_DEPRECATEDIN_3_0
    3649void CAST_encrypt(CAST_LONG *data, const CAST_KEY *key);
     50OSSL_DEPRECATEDIN_3_0
    3751void CAST_decrypt(CAST_LONG *data, const CAST_KEY *key);
     52OSSL_DEPRECATEDIN_3_0
    3853void CAST_cbc_encrypt(const unsigned char *in, unsigned char *out,
    3954                      long length, const CAST_KEY *ks, unsigned char *iv,
    4055                      int enc);
     56OSSL_DEPRECATEDIN_3_0
    4157void CAST_cfb64_encrypt(const unsigned char *in, unsigned char *out,
    4258                        long length, const CAST_KEY *schedule,
    4359                        unsigned char *ivec, int *num, int enc);
     60OSSL_DEPRECATEDIN_3_0
    4461void CAST_ofb64_encrypt(const unsigned char *in, unsigned char *out,
    4562                        long length, const CAST_KEY *schedule,
    4663                        unsigned char *ivec, int *num);
     64# endif
    4765
    4866# ifdef  __cplusplus
Note: See TracChangeset for help on using the changeset viewer.

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