Changeset 159951 in webkit


Ignore:
Timestamp:
Dec 2, 2013 12:28:54 PM (10 years ago)
Author:
ap@apple.com
Message:

Add support for WebCrypto RSA-OAEP
https://bugs.webkit.org/show_bug.cgi?id=125084

Build fix.

  • crypto/CommonCryptoUtilities.h:
  • crypto/mac/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp:
  • crypto/mac/CryptoKeyRSAMac.cpp:
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r159950 r159951  
     12013-12-02  Alexey Proskuryakov  <ap@apple.com>
     2
     3        Add support for WebCrypto RSA-OAEP
     4        https://bugs.webkit.org/show_bug.cgi?id=125084
     5
     6        Build fix.
     7
     8        * crypto/CommonCryptoUtilities.h:
     9        * crypto/mac/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp:
     10        * crypto/mac/CryptoKeyRSAMac.cpp:
     11
    1122013-12-02  Brendan Long  <b.long@cablelabs.com>
    213
  • trunk/Source/WebCore/crypto/CommonCryptoUtilities.h

    r159944 r159951  
    3030
    3131#include "CryptoAlgorithmIdentifier.h"
     32
     33#include <CommonCrypto/CommonCryptor.h>
    3234
    3335#if defined(__has_include)
     
    7476extern "C" int CCRandomCopyBytes(CCRandomRef rnd, void *bytes, size_t count);
    7577
     78typedef struct _CCRSACryptor *CCRSACryptorRef;
    7679extern "C" CCCryptorStatus CCRSACryptorEncrypt(CCRSACryptorRef publicKey, CCAsymmetricPadding padding, const void *plainText, size_t plainTextLen, void *cipherText, size_t *cipherTextLen, const void *tagData, size_t tagDataLen, CCDigestAlgorithm digestType);
    7780extern "C" CCCryptorStatus CCRSACryptorDecrypt(CCRSACryptorRef privateKey, CCAsymmetricPadding padding, const void *cipherText, size_t cipherTextLen, void *plainText, size_t *plainTextLen, const void *tagData, size_t tagDataLen, CCDigestAlgorithm digestType);
  • trunk/Source/WebCore/crypto/mac/CryptoAlgorithmRSASSA_PKCS1_v1_5Mac.cpp

    r159944 r159951  
    3434#include "CryptoKeyRSA.h"
    3535#include "ExceptionCode.h"
    36 #include <CommonCrypto/CommonCryptor.h>
    3736
    3837namespace WebCore {
  • trunk/Source/WebCore/crypto/mac/CryptoKeyRSAMac.cpp

    r159944 r159951  
    3434#include "CryptoKeyDataRSAComponents.h"
    3535#include "CryptoKeyPair.h"
    36 #include <CommonCrypto/CommonCryptor.h>
    3736
    3837namespace WebCore {
Note: See TracChangeset for help on using the changeset viewer.