Lines Matching refs:algorithm
369 * Set the cipher algorithm to be used for the specified session.
372 * @param algorithm the algorithm to use. The string conforms to JCA
374 * example algorithm is "AES/CBC/PKCS5Padding".
378 * if the HAL is in a state where the algorithm cannot be set.
380 setCipherAlgorithm(SessionId sessionId, string algorithm)
384 * Set the MAC algorithm to be used for computing hashes in a session.
387 * @param algorithm the algorithm to use. The string conforms to JCA
389 * algorithm string is "HmacSHA256".
393 * if the HAL is in a state where the algorithm cannot be set.
395 setMacAlgorithm(SessionId sessionId, string algorithm)
399 * Encrypt the provided input buffer with the cipher algorithm specified by
417 * Decrypt the provided input buffer with the cipher algorithm
436 * Compute a signature over the provided message using the mac algorithm
454 * Compute a hash of the provided message using the mac algorithm specified
475 * algorithm.
478 * @param algorithm the signing algorithm, such as "RSASSA-PSS-SHA1"
490 signRSA(SessionId sessionId, string algorithm, vec<uint8_t> message,