Home
Mailing List
FAQ
BSAFEeay
Remailers
IP
HLP
ERights
Researchers

Introduction

BSAFEeay is a free, Open Source, implementation of RSA Security's BSAFE Crypto-C API, using the SSLeay crypto library. Modifications to the library to compile against OpenSSL are currently underway, the submission of patches is appreciated. BSAFEeay was developed based on the BSAFE API Crypto-C spec as found in public domain code such as SETREF.

Current Version

alpha 1

Contents

Currently BSAFEeay is about 50% implemented (by count of algorithm types supported, the set of functions is much closer to 100% done), however enough is implemented so that SETREF will compile and run. The implemented stuff is:
  • Single DES
  • RSA, except key generation
  • SHA1
  • MD5
  • All combinations of RSA, MD5, and SHA1 (i.e. PKCS #11)
  • Diffie-Hellman, except parameter generation
  • PKCS #5 password based encryption (both MD5 and SHA1)

Specifications

Since the initial creation of BSAFEeay, RSA Security has published extensive specifications of the BSAFE Crypto-C API in the IETF document draft-baldwin-bsafe-00.txt

Test Cases

A comprehensive set of BSAFE Crypto-C test cases has been published by RSA Security in the IETF document draft-baldwin-bsafe-test-00.txt. Due to the highly-structured form of the draft, the document can readily programmatically be converted into a BSAFE Crypto-C test harness.

The Implemented Algorithm Info Types

The Algorithm Info types fully implemented are:
  • AI_DES_CBC_IV8
  • AI_DES_CBCPadIV8
  • AI_DES_CBCPadBER
  • AI_MD5
  • AI_MD5_BER
  • AI_MD5WithDES_CBCPad
  • AI_MD5WithDES_CBCPadBER
  • AI_MD5WithRSAEncryption
  • AI_MD5WithRSAEncryptionBER
  • AI_SHA1
  • AI_SHA1_BER
  • AI_SHA1WithDES_CBCPad
  • AI_SHA1WithDES_CBCPadBER
  • AI_SHA1WithRSAEncryption
  • AI_SHA1WithRSAEncryptionBER

FAQ

Please read the BSAFEeay FAQ prior to contacting the maintainers.

 


If you have questions or comments regarding this site, please contact The Cypherpunks Webmaster.