X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fengine%2Fvendor_defns%2Fhw_ubsec.h;h=37c830c1e81a0835c799aa30e55c9684cba75968;hp=0f49268500dfa48fe88eace5b50ae93c49b3d8cf;hb=e3f1223fe4571be546484efc664e2b2debb72f25;hpb=016d7d250afbc13b408287dd4628e41bfa71c14c diff --git a/crypto/engine/vendor_defns/hw_ubsec.h b/crypto/engine/vendor_defns/hw_ubsec.h index 0f49268500..37c830c1e8 100644 --- a/crypto/engine/vendor_defns/hw_ubsec.h +++ b/crypto/engine/vendor_defns/hw_ubsec.h @@ -24,8 +24,8 @@ #define SHA_BIT_SIZE (160) #define MAX_CRYPTO_KEY_LENGTH 24 #define MAX_MAC_KEY_LENGTH 64 -#define UBSEC_CRYPTO_DEVICE_NAME "/dev/ubscrypt" -#define UBSEC_KEY_DEVICE_NAME "/dev/ubskey" +#define UBSEC_CRYPTO_DEVICE_NAME ((unsigned char *)"/dev/ubscrypt") +#define UBSEC_KEY_DEVICE_NAME ((unsigned char *)"/dev/ubskey") /* Math command types. */ #define UBSEC_MATH_MODADD 0x0001 @@ -97,24 +97,3 @@ typedef int t_UBSEC_math_accelerate_ioctl(int fd, ubsec_MathCommand_t command, typedef int t_UBSEC_rng_ioctl(int fd, ubsec_RNGCommand_t command, unsigned char *Result, int *Result_len); - -/* - * These are the static string constants for the DSO file name and the function - * symbol names to bind to. - */ - -#define UBSEC_LIBNAME "ubsec" - -#define UBSEC_F1 "ubsec_bytes_to_bits" -#define UBSEC_F2 "ubsec_bits_to_bytes" -#define UBSEC_F3 "ubsec_open" -#define UBSEC_F4 "ubsec_close" -#define UBSEC_F5 "diffie_hellman_generate_ioctl" -#define UBSEC_F6 "diffie_hellman_agree_ioctl" -#define UBSEC_F7 "rsa_mod_exp_ioctl" -#define UBSEC_F8 "rsa_mod_exp_crt_ioctl" -#define UBSEC_F9 "dsa_sign_ioctl" -#define UBSEC_F10 "dsa_verify_ioctl" -#define UBSEC_F11 "math_accelerate_ioctl" -#define UBSEC_F12 "rng_ioctl" -